当前位置: 动力学知识库 > 问答 > 编程问答 >

How to get friends list of twiiter using twitter api on iphone app!

问题描述:

Possible Duplicate:

how to get email of friends list using twitter api on iphone app.

Hi all, i am try to write app to get friends list of user on twitter, when user login twitter on my app.

I use twiiter api, but i can't do it.

Please help me with the problem. Thanks so much!

网友答案:

If your Twiiter Api has this MGTwitterEngine.h file.Look for getFollowersIncludingCurrentStatus method which give the list of your followers.

Use this Delegate Method from XAuthTwitterEngineDelegate

-(void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)connectionIdentifier
{
mFollowerArray  =   nil;
mFollowerArray  =   [userInfo retain];
}
网友答案:

Sounds like you need to be sending a GET statuses/friends request to the Twitter API.

For more information, you might want to read through that documentation I linked to, or re-ask your question here with more specific details about the problem you're having.

分享给朋友:
您可能感兴趣的文章:
随机阅读: