New in TwitterLand: TweetMeme and Foller.me API support

We’ve added two new APIs to the TwitterLand gem. Version 0.4.0 adds support for TweetMeme and Foller.me.

TweetMeme – the hottest links on Twitter

TweetMeme does a great job of scouring the Twitterverse for the best links from all those tweets. Now thanks to the TwitterLand gem, all that great TweetMeme content is all yours including stories, comments, and even analytics.

TweetMeme examples

    # Get comments for a given url
    details = Twitterland::TweetMeme.url_info('http://tweetcongress.org')

    # Get recent comments
    comments = Twitterland::TweetMeme::Comments.firehose

    # Get popular stories
    popular = Twitterland::TweetMeme::Stories.popular

More examples are commented in the code, so check out the docs.

Foller.me, to freedom!

As an Arkansan living in Texas, how could I not support a service named Foller.me? So what does it do? Foller.me shows you the most popular topics, hashtags, and mentions for a particular Twitter user.

Foller.me examples

# Get topics for a user
Twitterland::FollerMe.topics('pengwynn')

# Grab hashtags for a user, excluding some
Twitterland::FollerMe.hashtags('pengwynn', {:exclude => 'ruby,rails')

# See who a user mentions the most
Twitterland::FollerMe.mentions('pengwynn')

# See who a user mentions other than his wife
Twitterland::FollerMe.mentions('pengwynn', {:exclude => '@mrspengwynn'})

# Hey, give me that in a nifty tag cloud
Twitterland::FollerMe.mentions('pengwynn', {:exclude => '@mrspengwynn', :render => true})

More ahead

As new Twitter services with their own APIs are popping up, we’ll keep adding support for them in TwitterLand. Found a great service we’ve missed? Let us know. Or better yet, fork us and submit a patch!

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Related posts:

  1. Add a retweet button to your Rails app easily with the Backtweets helper
  2. What makes a good API wrapper?
  3. New in the Twitter gem: Lists!
  4. Link LinkedIn into your next Ruby application
  5. A new Ruby gem for the Readernaut API
Bookmark the permalink. Both comments and trackbacks are currently closed.
  • Jim
    Good stuff, wynn!

    I had not heard of Foller.me before. Cool service.
blog comments powered by Disqus