tweetme

in

Here's another wee little module that just creates a simple block; in this case, the "tweetme" block you see at the top of the left nav column on this site.

This is something I was asked to build for a friend, who wanted to have a way for folks to click on a link and get to his twitter profile page. I made it a little more general purpose; it has a settings page where you can specify your twitter handle, and the text to display to the left of it.

I'm not sure how useful this really is, and would be glad to hear any opinions or suggestions. Maybe it should be called something else, since it doesnt really let you tweet anybody. Of course you could log in once you get to the profile page. There are some other good modules out there for the actual sending fo tweets; I'm using the Add to Any Share/Save/Bookmark Button to do this here.

I'm thinking of submitting it to Drupal.org if it seems useful. I also debated whether it should be used in conjunction with the excellent twitter module, which could provide the storage of one's twitter id. That would be a good thing, since there is no sense in duplicating existing effort. On the other hand, if allthat is required is this simple functionality, having to install the twitter module to use it would be massive overkill. The right approach would be to see if twitter is already installed, and use it's setting if they are available. Plus, twitter can store per-user settings, which is an advantage.

Why a module at all? This could be done by creating a new block and pasting in a few lines of PHP. But lots of people aren't comfortable doing so, and this is a plug and play solution.

Anyway, it was fun to do a little coding, hope this may be useful to somebody.

You can DOWNLOAD it here.