We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks Nicolas for your work.
I used Twitter api 1.0 with "search.json?q=xx?rpp=yy" and now with "q=xx?count=yy"
Perhaps is interesting to add a method with NSDictionary parameter to manage count:
(void)getSearchTweetsWithQueryDictionary:(NSDictionary *)search successBlock:(void(^)(NSDictionary *searchMetadata, NSArray *statuses))successBlock errorBlock:(void(^)(NSError *error))errorBlock { [_oauth getResource:@"search/tweets.json" parameters:search successBlock:^(id response) {
NSDictionary *searchMetadata = [response valueForKey:@"search_metadata"]; NSArray *statuses = [response valueForKey:@"statuses"]; successBlock(searchMetadata, statuses);
} errorBlock:^(NSError *error) { errorBlock(error); }];
}
Thanks Miguel
The text was updated successfully, but these errors were encountered:
I agree. I just added a method to handle all possible search parameters 3afe08a
Sorry, something went wrong.
Thanks
No branches or pull requests
Thanks Nicolas for your work.
I used Twitter api 1.0 with "search.json?q=xx?rpp=yy" and now with "q=xx?count=yy"
Perhaps is interesting to add a method with NSDictionary parameter to manage count:
(void)getSearchTweetsWithQueryDictionary:(NSDictionary *)search
successBlock:(void(^)(NSDictionary *searchMetadata, NSArray *statuses))successBlock
errorBlock:(void(^)(NSError *error))errorBlock
{
[_oauth getResource:@"search/tweets.json" parameters:search successBlock:^(id response) {
} errorBlock:^(NSError *error) {
errorBlock(error);
}];
}
Thanks
Miguel
The text was updated successfully, but these errors were encountered: