我正在使用 TWRequest 来查询推特。我想知道如何在 URL 末尾添加 +exclude:retweets 过滤器。这是我的代码:
NSString *searchURL = [NSString stringWithFormat:@"http://search.twitter.com/search.json"];
NSMutableDictionary *dict_req;
dict_req = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"50", @"rpp", @"true", @"include_entities", searchParams, @"q", nil];
TWRequest *request = [[TWRequest alloc] initWithURL:[NSURL URLWithString:searchURL]
parameters:dict_req requestMethod:TWRequestMethodGET];
[request performRequestWithHandler:^(NSData *responseData, NSHTTPURLResponse *urlResponse, NSError *error)
{
//results
}];