Retrieving recent tweets from Twitter

Undoubtedly, Twitter is one of the most popular Web 2.0 applications on the Net. Many developers have found ways to connect this service to their iPhone applications .This recipe shows you how to load n tweets from a specific Twitter user. All of these tweets will be displayed in a simple list.

The required code for this recipe is a simple XHTML file called code/ch10/twitter.html in the code bundle provided on the Packtpub site.

Getting ready

First you need a Twitter account name; you may already have one. Then, make sure you've installed XUI and UiUIKit frameworks on your machine.

How to do it...

  1. After creating a standard XHTML file with the required lines for loading both our frameworks, add the following lines ...

Get iPhone JavaScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.