开发者

c# display list of "friends" in facebook

What would be the best method for a desktop app to logon to Faceb开发者_StackOverflow社区ook (using user inputed creditably) and list out all the friends w/ ID #


Take a look at the API that facebook provides

you would first need to authenticate http://developers.facebook.com/docs/authentication/desktop

and then you would need to look at the Graph API

to look up the friends (FriendList)


I would recommend using the Facebook C# SDK. If you download the current release you will find a sample that will show you how to do what you are asking. However, one thing to note is that you cannot collect the user's username and password directly. You must use OAuth in order to authenticate the user. This is all show in the WinForms sample.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜