2011-10-19 27 views
0

如何使用Twitter API獲取我的Twitter帳戶的朋友/朋友的ID? 在本教程中https://github.com/bengottlieb/Twitter-OAuth-iPhone和例子,我可以發送更新或發送任何直接的消息,但我不能得到任何直接消息或朋友的ID或能夠從一開始被發現的任何其他東西方法。iphone - 如何使用Twitter API獲取朋友/ ID?

如何查找從get方法解析的數據? (例如:getPublicTimeline,getUpdate:(unsigned long)updateID,getDirectMessagesSinceID:等)。

任何人都可以建議如何解決這個問題?

回答

0

yes.You有getFriends method.Also你有getFollowersIncludingCurrentStatus method.These方法將返回下面的回調,

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