Twitter Tweet Button for Drupal

Jocelyn's picture

Twitter just launched their own version of the Tweet Button last week.

There have been many ways to implement Twitter sharing on websites, the most popular being the Retweet Button by TweetMeme. TweetMeme is now recommending that people use the official Twitter Tweet Button, but it will continue to offer its own button as well.

Twitter's Tweet Button

With the Twitter Tweet Button you can:

  • Choose your button style: Vertical, Horizontal or No Count (you can also just use text links)

    Twitter Tweet Button

  • Recommend (up to 2) people to follow (which appear after someone tweets)

    Tweet Button Share

At least currently, the Tweet button API will not allow you to specify a preferred url shortener. Link shortening is provided by Twitter's link shortening service.

Twitter Tweet Button for Drupal

The Twitter Tweet Button module for Drupal allows you to integrate the Tweet Button with your Drupal site.

After enabling the module it can be configured at admin/settings/tweet_button

  • Which node types should use a Tweet Button
  • Select the button style for nodes and teasers independently
  • Set the recommended accounts to follow

Additionally, if you prefer exact placement of the buttons, you can select 'none' for both nodes & teasers and control the output by calling tweet_button_twitter_link($style, $n) from your modules or themes.

I'll be working on implementing additional configuration options. If you have any feature requests or find any issues using the module, let me know via the Issue Queue.

Download: Twitter Tweet Button

Add New Comment