MAR 11

11 Useful Free APIs for Developing Twitter Apps

1. Twitter API

http://apiwiki.twitter.com/REST+API+Documentation

This is the main API you’ll use for interacting with twitter accounts: getting friend and follower details, following and unfollowing, and most importantly, posting status updates.

The API is very easy to use (thanks to REST: just make GET or POST requests to various URLs), and thankfully no registration is required; just pass your twitter account details in using HTTP Basic Authentication for the actions that need it.

Although the service is rate-limited to 100 requests per hour, many of the most important actions (such as posting a status update, or following a user) are not included in the rate limits.

2. Twitter Search API

http://apiwiki.twitter.com/Search+API+Documentation

Although it’s also run by Twitter, it currently feels like quite a separate service, probably because it has been largely untouched since Twitter bought the Summize search application that it runs from.

The great thing about the Search API is that, within reason, there are no limits on request frequency. So, you can even use it to replace some of the rate-limited actions of the main Twitter API, such as retrieving a (public) user’s timeline, e.g. http://search.twitter.com/search.atom?lang=en&q=from%3Azambonini

The Search API will only serve you up to about 1,500 results from recent history. If you plan on doing serious data mining, you’ll have to periodically poll the API and store the aggregated data locally. Also be aware that it has a few little idiosyncrasies (such as how it treats IDs), so where possible use a library to make your API calls, to more easily upgrade your app when the API is made more consistent in the near future.

3. Yahoo! Term Extractor

http://developer.yahoo.com/search/content/V1/termExtraction.html

If you’re interested in semantically analyzing or categorizing tweets, take a look at the Yahoo! API that extracts ‘significant’ terms from text. You’ll need to register for an API key (it’s quick and painless), but once you have it, the API calls are really simple REST. The service is limited by IP address to 5,000 calls per day.

See Also:

4. Google Charts

http://code.google.com/apis/chart/

Want to produce some nice bar, line, scatter or pie charts from Twitter data, but can’t be bothered with researching and installing a PHP, Javascript or Flash library? The Google Charts API is the answer! No registration is required, and you just have to create the relevant query string with your data and embed the image URL on your page: Google will do the rest and display the graph.

There are no limits on the number of calls you can make, but Google asks that you let them know if you intend on making more than 250,000 calls per day.

5. Yahoo! GeoPlanetTM

http://developer.yahoo.com/geo/

Location-based services are all the rage right now, and Twitter is becoming one of the cornerstones for this burgeoning industry. So you want to extract the ‘location’ from somebody’s tweet and convert it to latitude and longitude, ready for plotting on a Google Map? Yahoo! GeoPlanet does this really well: just pass it a string of text that includes a location, and it will intelligently return a latitude and longitude for the location, along with other useful information.

You’ll need an API key to make requests, but if you signed up for the Yahoo! Term Extractor mentioned above, then you’re halfway there already. Requests are limited to 50,000 per day.

See Also:

6. Compete

http://developer.compete.com/

A large proportion of tweets include links to other websites, so you may want to perform some analysis on these links. The Compete API will return some useful information about a given website, such as how trusted it is and it’s history of traffic.

As with the other APIs in this list, it’s an easy REST over GET API (just pass your parameters via the query string to a URL). You’ll need to sign-up for an API key, and there’s a limit of 1,000 calls per day unless you negotiate for more (and pass their review/audit).

See also:

7. TwitterCounter

http://twittercounter.com/pages/api

Another simple REST over GET API that returns information about twitter users’ follower numbers such as historical growth numbers, predictions, averages, and so on.

No registration or authentication is required.

8. TwitPic

http://twitpic.com/api.do

The de-facto service for embedding images into tweets offers a simple, albeit sparsely documented, API.

Uploading a photo is very simple – just POST the API the binary data associated with the image, together with the twitter username and password for the relevant account. No registration/API key is required.

9. bit.ly

http://bit.ly/app/developers

Need to embed a long URL into a limited-space tweet? Bit.ly is the answer. It has a slightly shorter domain than tinyurl.com, and doesn’t have the horrible frame of ow.ly! The API is more complicated than the simple Tinyurl equivalent (see link below). You’ll need to register for a key, but it is far more feature rich, with expansion and statistics features joining the main shortening function.

See Also:

10. Tweetshrink

http://tweetshrink.com/api

Another way of squeezing more information into each tweet is to use abbreviations and text-speak. The Tweetshrink API will quickly do these for you: it’s an incredibly simple REST over GET API, with no registration/key required.

11. Yahoo! Spelling Suggestion

http://developer.yahoo.com/search/web/V1/spellingSuggestion.html

Need to check those words before sending a status update, but have no local access to a dictionary or spell-checker? The Yahoo! Spelling Suggestion API is here to save you. Pass it a string of text (again, REST over either GET or POST), and it will do it’s best to return a corrected version.

As with the other Yahoo! APIs mentioned, you’ll have to register for an API key, and requests are limited to 5,000 per day per IP address.

Comments

33 comments

  1. Nermal said... 12th Mar 2009, 17:17

    http://tr.im can be used to trim urls (and then tweet them straight to twitter). It's also a letter shorter than bit.ly :)

  2. Darragh Curran said... 12th Mar 2009, 22:48

    Blatant self promotion ;) My API for http://www.longurlplease.com/ fits nicely with this list. It converts short urls into their originals, which helps you make better decisions about what/when to click on links. Here's a list of some of the twitter apps using it so far: http://www.longurlplease.com/apps

  3. Dan Zambonini said... 13th Mar 2009, 10:56

    @Darragh Ah, yes! I should have included that - an invaluable service! I didn't realise you had an API. Excellent stuff.

  4. Jake Good said... 29th Mar 2009, 21:59

    Also check out Drop.io (http://api.drop.io) as you can send images, videos, documents, or any other file...

  5. Den said... 31st Mar 2009, 05:19

    Annotated links API: http://linkstore.ru/al/api.jsp

  6. Skelly said... 24th Apr 2009, 18:07

    Speaking of location-based mashups being all the latest rage -- Geonames.org offers a great JSON based API for this type of thing.

  7. Twitter Loco said... 26th Apr 2009, 19:55

    tr.im is an excellent tool aswell!

  8. twituser said... 1st May 2009, 16:14

    So Twitter is awesome for Taking traffic to you website . It is very
    simple to setup and its a fun positive way to keep in contact with
    people. To get more followers on twitter check out this amazing
    tool.
    Twitter
    Traffic Machine

  9. datuk maringgi said... 13th May 2009, 14:46

    I am Very thank full the owner of this blog. Because of this blog is very informative for me.. And I ask u some thing You make more this type blog where we can get more knowledge.

  10. Twitter API said... 17th May 2009, 21:45

    The twitter oAuth api is definitely better than the basic authentication.

  11. srdha said... 20th May 2009, 06:03


    i gust want to say some thing "great job"

    Update your Twitter randomly according to your intrest Or, from Rss Feed Or, from your own tweet message list Or, Any combination of the above three http://feedmytwitter.com

  12. srdha said... 21st May 2009, 09:36


    i gust want to say some thing "great job"

    Update your Twitter randomly according to your intrest Or, from Rss Feed Or, from your own tweet message list Or, Any combination of the above three http://feedmytwitter.com

  13. Justin K. said... 25th Jun 2009, 17:23

    Great post! There a so many cool tools and apps out there. While it might not be a tool for Twitter App Developemnt, I personally love ref.ly (http://ref.ly). It's a great tool for people who want to share Bible verses on Twitter.

  14. san francisco product liability attorneys said... 15th Jul 2009, 16:54

    This is an amazing selection of APPs. Thanks for taking the time to collect them all.

  15. penis enlargement said... 20th Jul 2009, 06:55

    Male Enhancement Pills are a natural herbal supplement and have not been shown to have any serious side effects. If you have any medical concerns you may review the ingredients with your doctor or healthcare professional.

    Male Enhancement Pills are an ingestible supplement; the results you see are permanent as long as you continue to take the recommended dosage. Once desired results are achieved, some men scale back dosage to a maintenance amount of one capsule three or four times a week. This reduction in dosage should not compromise erection size or fullness, once desired results have been achieved.


    Click Here To ORDER VigRX Plus Pills

    http://www.vigrxplus.com/?a=bestpenisenlargement

    http://www.vigrxplus.com/?a=bestpenisenlargement

    more information:
    http://www.vigrxplus.com/?a=bestpenisenlargement
    http://www.penisenlargement4male.com

  16. US poker rooms said... 26th Aug 2009, 18:57

    The twitter oAuth api is definitely better than the basic authentication.

  17. Partners said... 27th Aug 2009, 05:15

    These API's are all great! Most of these can really make your life a lot easier.

  18. Geek Blog said... 27th Aug 2009, 05:31

    Awesome API list! We will be reporting on some of these soon.

  19. Direct Mail List Brokers said... 28th Aug 2009, 10:20

    The fact that all these API's are available is testament to the foresight of the people that run Twitter. Microsoft should take note and open their doors a little more frequently

  20. Lukisan said... 29th Aug 2009, 20:37

    Speaking of location-based mashups being all the latest rage -- Geonames.org offers a great JSON based API for this type of thing.

  21. Wool area rugs said... 5th Sep 2009, 06:10

    I developed a Twitter app that shows people the most viewed tweets that you have. It is meant for people who produced hundreds of tweets in a weeks so that their readers need only to view the 'most viewed'. It never took off.

  22. sexy lingerie online said... 7th Sep 2009, 02:34

    Wow.
    Great post on twitter applications.
    Will have to print this one out and read it properly

  23. games said... 17th Sep 2009, 16:26

    Great post about twitter APIs. Just bookmarked it.

  24. Kenali dan Kunjungi Objek Wisata di Pandeglang said... 18th Sep 2009, 22:26

    great post and very informatif

  25. antwa said... 18th Sep 2009, 22:29

    great think.....thank's for API

    http://antwablog.blogspot.com/2009/09/kenali-dan-kunjungi-objek-wisata-di.html
    http://antwablog.blogspot.com/
    http://naruto-4us.blogspot.com/

  26. greg said... 18th Sep 2009, 22:32

    hmmnn... I don't realy undertand how todo with this API???

    Antwablog | Kenali dan Kunjungi Objek Wisata di Pandeglang | Naruto

  27. moratmarit said... 19th Sep 2009, 08:29

    Thanks for information..

    Kenali dan Kunjungi Objek Wisata di Pandeglang | moratmarit | cah bagoes

    http://www.moratmarit.com/2009/08/kenali-dan-kunjungi-objek-wisata-di.html

  28. sohbet said... 21st Sep 2009, 17:39

    thanks, Speaking of location-based mashups being all the latest rage -- Geonames.org offers a great JSON based API for this type of thing.

  29. how to quit smoking said... 23rd Sep 2009, 09:04

    The fact that all these API's are available is testament to the foresight of the people that run Twitter. Microsoft should take note and open their doors a little more frequently

  30. rhElla said... 20th Feb 2010, 21:29

    I do truly like your hot topic! Can you compose the argumentative term paper for example? Because I know that a great comparison essay service can compose custom research papers of the best quality.

  31. Anders Jane said... 27th Feb 2010, 20:32

    Let's not forget about 2 other great services. Refollow for automatic following and american idol tweet for finding the tweets of idol stars. Both are great services.

  32. Anders Jane said... 27th Feb 2010, 20:33

    Forgot to tell you the address: http://www.americanidoltweet.com and refollow.com

  33. Anders Jane said... 27th Feb 2010, 20:35

    [url]http://www.americanidoltweet.com[/url] has already over 200 users as i can see

Post Comment

[This form does not accept any HTML]

Anti Spam *

About The Author

Dan Zambonini

Dan Zambonini is the Technical Director of Box UK. He is the original architect of the Amaxus Content Management System, conceived clickdensity, has participated in industry-shaping think tanks, and has had articles featured in international websites and magazines. He is passionate about making use of the latest technologies in everyday life, and believes people and communities are key to innovation. For more, you can visit him on his personal website at danzambonini.com.Follow Dan Zambonini on Twitter

 

Social Bookmarks