如何使用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
}