Crash893
Crash893

Reputation: 11702

c# display list of "friends" in facebook

What would be the best method for a desktop app to logon to Facebook (using user inputed creditably) and list out all the friends w/ ID #

Upvotes: 0

Views: 363

Answers (2)

Nate Totten
Nate Totten

Reputation: 8932

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.

Upvotes: 1

clyc
clyc

Reputation: 2450

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)

Upvotes: 2

Related Questions