如何获得朋友/id与Twitter API



如何使用Twitter API获取我的twitter帐户的好友/好友id ?在本教程https://github.com/bengottlieb/Twitter-OAuth-iPhone和示例中,我可以只是发送更新或发送任何直接消息,但我不能获取任何直接消息或朋友的id或任何其他可以从get方法中找到的东西。

如何找到从get方法解析的任何数据?(例如:getPublicTimeline, getUpdate:(unsigned long)updateID, getDirectMessagesSinceID:等)

谁能建议如何解决这个问题?

https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=screennameofUser

是。你有getFriends方法。你也有getFollowersIncludingCurrentStatus方法。这些方法将返回到以下回调

   - (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)connectionIdentifier
    {
//Here You can parse userInfo and get the list
    }

最新更新