15
Jun/092
Jun/092
Post a tweet from an anchor link!
Wow! You’ve heard of mailto: links that automatically launch your mail client, and iTunes links that open the iTunes music store, but did you know that you could make a link that posts a tweet on twitter!
I discovered it when learning about Fussy Follow Friday on Matt Stratton’s blog.
First, an example: Click here to tweet!
And now, here’s some html how-to goodness:
<a href=”http://twitter.com/home?status=type twitter status here“>Click me!</a>
Of course, if you’re not signed into twitter, it will ask you to sign in first… but if you are signed in, it will post automatically.
June 15th, 2009
I tried pasting the code above into the html view of a page on our web site. When I then clicked the “click me!” button that appeared on the web page, it tried to direct me to: http://www.tltgroup.org/studentcourseeval/%E2%80%9Dhttp://twitter.com/home?status=type {the TLT Group web page that ends studentcourseeval is the page of origin}
June 16th, 2009
Hi Steve,
What are you using to edit your webpage? This sounds like an error in your content management system, which is trying to put in some extra characters before your link.
If you edit the html directly, you won’t have this problem.
This person is having the same problem with a wordpress install: http://wordpress.org/support/topic/223455