Hi! I’m making “friends/list” request, that returns me up to 20 users. And the limit of the request is 15 requests per 15 minutes. How can I get all friends if the user follows more then 300 (15x20) users. Or user makes 2 requests in 15 min. with 150+ friends e.t.c ?
Obj-c code sample:
NSURL *url = [NSURL URLWithString:@"https://api.twitter.com/1.1/friends/list.json"];
NSDictionary *params = @{@"user_id" : _twitterUserAccount.identifier,
@"skip_status" : @"true",
@"cursor" : _cursor ? _cursor: @"-1",
@"include_user_entities" :@"true"};
SLRequest *request = [SLRequest requestForServiceType:SLServiceTypeTwitter
requestMethod:SLRequestMethodGET
URL:url
parameters:params];
[request performRequestWithHandler:^(NSData *responseData,
NSHTTPURLResponse *urlResponse,
NSError *error) {
...
}];