0

我正在将 iphone 设备上的 twitter api 与特定应用程序集成。我想获取使用同一应用程序的关注者列表。

是否可以获得使用同一应用程序的关注者列表?

谢谢,
吉姆。

4

1 回答 1

0

在你的 twitter api 中使用这个 api 调用来让你的关注者进入 twitter

- (NSString *)getFollowersIncludingCurrentStatus:(BOOL)flag

{ NSString *path = [NSString stringWithFormat:@"statuses/followers.%@", API_FORMAT];

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithCapacity:0];
if (!flag) {
    [params setObject:@"true" forKey:@"lite"]; // slightly bizarre, but correct.
}

return [self _sendRequestWithMethod:nil path:path queryParameters:params body:nil 
                        requestType:MGTwitterFollowerUpdatesRequest
                       responseType:MGTwitterUsers];

}

于 2012-06-06T06:09:41.737 回答