I have a chrome extension partially completed. I just need it to do one simple thing. After the words "this page:" it should show the short url for the current page as a link to a twitter post with that short url.
This short url should use my own installation of YOURLS. So it will say "This page: [url removed, login to view]" for example. YOURLS is easy to use and has a great API. Here is some quick documentation:
Passwordless API: [url removed, login to view]
Regular API: [url removed, login to view]
In order to do this, you may be able to use code from the "shrink" link at the bottom of this page: [url removed, login to view] This should help you grab the URL of the current page. The rest of the code should be easy, it's all in the API documentation.
I expect this to be a fairly easy project. I just do not know the code.