【发布时间】:2013-03-24 17:29:48
【问题描述】:
我有一个简单的问题,在我的 iOS 应用程序中,我有 twitter 搜索 API。我正在寻找实现对 hastags 和用户时间线的搜索。对于 hastags,我有 url:http://search.twitter.com/search.json?q=%23HASHTAGHERE 但我无法找到用户时间线的 JSON url。如果有人能指出这一点,那就太好了。谢谢你
HASTAG 的电流:
NSString *urlString = [NSString stringWithFormat:@"http://search.twitter.com/search.json?q=&ands=%@&phrase=&rpp=50",searchTerm]; NSURL *url = [NSURL URLWithString:urlString]; //Setup and start async downloadNSURLRequest *request = [[NSURLRequest 分配] initWithURL:url]; NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
【问题讨论】: