I’m a newbie to iPhone app development and trying to create a Twitter-based iPhone app.
I’m using MGTwitterEngine
to search and retrieve the timeline of people I follow.
The method I’m using is:
[twitterEngine getFollowedTimelineSinceID:0 startingAtPage:0 count:100];
Things are working great, however there are a couple of things I struggle with:
Several people have mentioned MGTwitterEngine
is lacking re-tweeting functionality. I’m not trying to re-tweet but simply to get the complete timeline (including re-tweets by people I follow).
Many thanks!
Look at this https://dev.twitter.com/docs/api/1/get/statuses/home_timeline
Specifically look at the part that say :
Include_RTS : When set to either true, t or 1,the timeline will contain native retweets (if they exist) in addition to the standard stream of tweets...
Now in the getFollowedTimelineSinceID method you'll need to create a new object for the params dictionary something along these lines
[params setObject:[NSString stringWithFormat:@"%@", @"true"] forKey:@"Include_RTS"];