iOS Twitter Streaming API usage to get public tweets in desired location -


i newbie twitter streaming api!

at moment trying implement twitter streaming api public posts in desired location:

- (void)test {         nsurl *url = [nsurl urlwithstring:@"https://stream.twitter.com/1.1/statuses/sample.json"];          slrequest *request  = [slrequest requestforservicetype:slservicetypetwitter requestmethod:slrequestmethodget url:url parameters:nil];           nsurlconnection *connection = [[nsurlconnection alloc] initwithrequest:[request preparedurlrequest] delegate:self startimmediately:no];          [connection scheduleinrunloop:[nsrunloop mainrunloop] formode:nsdefaultrunloopmode];          [connection start]; } 

in nsurlconnectiondelegate callback didreceivedata: null response. problem? how make work?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -