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

23 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. Twitter API said... 17th May 2009, 21:45

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

  9. 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.

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

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

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

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

  12. 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

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

    Great post about twitter APIs. Just bookmarked it.

  14. 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.

  15. LizFerrell said... 12th Apr 2010, 23:39

    Do not enough cash to buy a car? You should not worry, because it's real to take the business loans to solve such kind of problems. Thence take a term loan to buy everything you require.

  16. büyü said... 28th Apr 2010, 12:23

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

  17. Louis vuitton said... 6th Jul 2010, 07:50

    christian louboutin
    blue christian louboutin shoes
    christian louboutin discount shoes
    christian louboutin clearance
    christian louboutin bridal
    christian louboutin pronounce
    Cheap wholesale christian louboutin
    Christian loubouin prive slingbacks black
    christian louboutin rodita pink
    manolo blahnik shoes
    Manolo Blahnik Orsay Sandals
    pumps shoes
    Christian Louboutin Black Bling Diamonds + Kid Suede Pumps
    christian louboutin satin anemone pumps

  18. wholesale nfl jerseys said... 19th Aug 2010, 03:02

    wholesale nfl jerseys,Authentic NFL Jerseys,wholesale jerseys www.nflclubhouse.com

  19. mbt shoes on sale said... 19th Aug 2010, 03:08

    We still believe that every shoe box should be required to display the warning: “Shoes are harmful to your health”.So we used radical measures to dramatize the corrosive effect on our health from wearing traditional shoes,you can go through www. aretheyshoes.com to get more info.

  20. AMplified Phones said... 20th Aug 2010, 19:14

    Superb twitter articles. just love it.

  21. AMplified Phones said... 20th Aug 2010, 19:15

    http://www.hearmeclear.com

  22. black nike air max shoes said... 25th Aug 2010, 06:43

    Once we get there, so many wonderful dreams will come true and the pieces of our black nike air max shoes lives will fit together like a completed jigsaw puzzle. http://www.sellnikeairmax.com/

  23. Tablet PC said... 27th Aug 2010, 01:34

    you sehen die Efox-Shop, dass Sie bietet alle Arten von bevorzugten Produkte wie Tablet PC
    iPad Klon
    APAD
    China ipad
    und android 2,1 Tablet PC mit hoher Qualität, Mode Stil und konkurrenzfähigen Preis.

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

Box UK Twitter Feed

  • Woohoo! Smashing Magazine tweeted our post "Using Sketchboards to design User Interfaces quickly" - http://bit.ly/cVaion #ux #ui #sketching Posted on 27th Aug by Box UK