I m trying to get the list of the members of the group iOS Developers from Twitter Groups.
I m using STTwitterAPI. I used it to get the news feed of specific account, and it works so fine. But when i tried to get the list of the members by using the functions (getListsMembersForSlug or getListsMembersForListID) it didn't work, I get the following error :
Description : Error Domain=STHTTPRequest Code=404 "The operation couldn’t be completed. (STHTTPRequest error 404.)"
The code I m using is :
STTwitterAPI *twitter = [STTwitterAPI twitterAPIAppOnlyWithConsumerKey:@"MyConsumerKey" consumerSecret:@"MyconsumerSecret"];
[twitter verifyCredentialsWithSuccessBlock:^(NSString *bearerToken) {
NSNumber *t = [NSNumber numberWithInt:1];
[twitter getListsMembersForSlug:@"iOS Developers" ownerScreenName:@"Gadget_Ry" orOwnerID:nil cursor:false includeEntities:false skipStatus:t successBlock:^(NSArray *users, NSString *previousCursor, NSString *nextCursor) {
NSLog(@"Ok");
} errorBlock:^(NSError *error) {
NSLog(@"NOk");
}];
} errorBlock:^(NSError *error) {
NSLog(@"%@", error.debugDescription);
}];
Can anyone help me please? Any suggestions! Tutorials! I'll be grateful :)
iOS Developers
is not a slug.
iOS-Developers
is a slug.
:-)