我有一个简单的问题,在我的 iOS 应用程序中,我有 twitter 搜索 api。我正在寻求实现对 hastags 和用户时间线的搜索。对于 hastags,我有网址:http ://search.twitter.com/search.json?q=%23HASHTAGHERE但我无法找到用户时间线的 JSON 网址。如果有人能指出这一点,那就太好了。谢谢你
HATAG 的电流:
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 download
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url]; NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];