Search code examples
iphoneiostwittermgtwitterenginetweets

How to get 10 latest tweets from a user as strings?


I'm making an app and I only need Twitter integration to get the latest tweets from a user and display them in a TableView.

I tried using MGTwitterEngine but I get lots of errors. I'm guessing it wasn't made for iOS.

While we're at it, does anyone have a working iOS twitter client project? Later I'm planning to add the function to tap on of the TableCells to reply to that tweet.


Solution

  • MGTwitterEngine actually works pretty well in iOS. You should be using this version by Ben Gottlieb: Twitter+OAuth/MGTwitterEngine

    There's a working example in that code if I remember correctly.

    Just make sure to get your twitter API key at this address:

    https://dev.twitter.com/apps/new