Heuristic
Heuristic

Reputation: 5341

What's the best way to get latest tweets in iPhone(SDK, 3rd party libs, etc)?

I need to display a list of latest tweets in my iPhone app, and wondering what is the best way to do this, is there any SDK or existing projects doing this? I know about ShareKit, but it seems to be a method for sharing with standard UI, and no way to use it as a getter for latest tweets.

Thanks!

Upvotes: 1

Views: 1389

Answers (3)

Yorxxx
Yorxxx

Reputation: 679

There is also a third way, which is using http://three20.info/, that also implements main Twitter methods, but since all that you want is to retrieve public info I would stick with ASIHTTPRequest, as Barum Rho recommended. Easier and quicker.

Just to let you know more ways :)

Upvotes: 0

EXC_BAD_ACCESS
EXC_BAD_ACCESS

Reputation: 2707

U see the following example.you will get some idea http://mobile.tutsplus.com/tutorials/iphone/twitter-api-iphone/

Upvotes: 1

Barum Rho
Barum Rho

Reputation: 2763

If you only need to get publicly available data, then Twitter has a pretty straight-forward HTTP API that outputs JSON.

For example, to get a user's tweets: http://dev.twitter.com/doc/get/statuses/public_timeline

You can easily use it by utilizing available library for JSON parsing (e.g. JSONKit) and HTTP client (e.g. ASIHTTPRequest, or NSData's + dataWithContentsOfURL).

Upvotes: 3

Related Questions