O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required