Search code examples
iosobjective-ctwitter

Twitter Integration on iPhone


I want to integrate Twitter in my iPhone App for getting some tweets of a particular twitter account. Please suggest me the best idea to do that ?

NOTE:

  1. I just want to show the tweets from a particular account. Any short method will be help full rather than full twitter integration

  2. For now I am using RSS to get the tweets but somewhere I've heard that RSS twitter feeds are very unreliable and they are going to stop support for RSS soon.


Solution

  • Got the answer. - I added MGTwitterEngine into my project.

    Here is the code :[MyViewController's -(void)viewDidLoad]-

    MGTwitterEngine *twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:self];
    [twitterEngine getUserTimelineFor:username sinceID:0 startingAtPage:0 count:10];
    

    If you guys need some more clarification feel free to ask. I'll try to help you out as much as I can.

    Regards!!