Simple twitter timeline iOS (only read tweets for no register user) -


i want twitter timeline displayed in view, without user having put twitter account, simplemete read tweets , hashtag, of accounts have selected during programming of app. possible? can find info this? see includes login in twitter.

thank you.

you can use sttwitterapiwrapper

firstly using twitter must create app , because must use key , secret of app in code.

for example :

sttwitterapiwrapper *twitter = [sttwitterapiwrapper twitterapiapplicationonlywithconsumerkey:yourtwitterconsumerkey                                   consumersecret:yourtwitterconsumersecret];      [twitter verifycredentialswithsuccessblock:^(nsstring *username)      {          nsdictionary *parameters = @{@"q" : @"anyhashtag", @"result_type": @"recent", @"count": @"100"};          [twitter getsearchtweetswithquery:parameters successblock:^(nsdictionary *searchmetadata, nsarray *statuses, nsstring *refreshurl) {              _refreshurl = refreshurl;             [self parsejsonstring:statuses];           } errorblock:^(nserror *error) {              //nslog(@"-- error: %@", error);         }];       } errorblock:^(nserror *error) {         //nslog(@"--** error %@", error);     }]; 

Comments

Popular posts from this blog

Change the color of an oval at click in Java AWT -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -