0

Twitterの友達リストを取得しようとしています。そのために次のURLを参照しました。それから私は友達IDのグループを手に入れました。各IDの詳細を取得する方法。アドバイスしてください。

ありがとうRajeshK

https://dev.twitter.com/docs/api/1/get/friends/ids

4

2 に答える 2

0

https://dev.twitter.com/docs/api/1.1/get/friendships/lookupを参照してください

また、Twitter API バージョン 1 は廃止されました。バージョン 1.1 を使用する必要があります。

于 2012-09-27T15:36:26.017 に答える
0

このコードを使用できます:-

TwitterCursorList<TwitterUser> friendsList = service.ListFriends(new ListFriendsOptions{ Cursor = -1 });

while (friendsList.NextCursor != 0)
{
 friendsList = service.ListFriends(new ListFriendsOptions
 {
  Cursor = friendsList.NextCursor
 });

}

上記のコードは、すべての Twitter の友達を提供します。

于 2013-09-06T14:40:08.173 に答える