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 に答える