“Like it? Tweet it!” is a new JavaScript widget by Andy Graulund that, using Twitter @Anywhere, provides an easy way to display a box for people to tweet about your posts. It automatically loads a shortened URL and let’s you write a message to go along with it.
It provides more customization options than the alternatives, namely TweetMeme. You can use any link as a trigger for the overlay, and it’s possible to re-style the box. You can also change much of the text used, and set which short URL is placed in the tweet.
The only drawback is that users have to connect their account with the application. It only has to be once, and the user can then use any Like it? Tweet it! box around the internet. This is something that has been bothering me about the Twitter @Anywhere platform. Why should a basic tweet box or follow button widget require the authorization process, while the follow buttons in hovercards don’t? Why can’t they use the user’s Twitter login cookie like the hovercards do?
Integrate Twitter @Anywhere into Your WordPress Comments
May 11, 2010 by Matt | Posted in Featured, WordPress 2 CommentsYou may have noticed that, a few weeks ago, I added a new field to the comment form here on Webmaster-Source. A new “Twitter ID” field lets you input your Twitter username so it can be displayed next to the name you enter, complete with hovercards from Twitter @Anywhere.
I shared the code I had thrown together with Ben Gillbanks of BinaryMoon, who now has an easy to follow tutorial available on his site. Ben cleaned the code up a bit and made some enhancements, such as some sanitization and a cookie to make the form field remember the user’s input.
If you want to add some additional social media integration to your blog, be sure to give the tutorial a look.
How to Integrate Twitters @Anywhere with your WordPress Comments [BinaryMoon]