views:

355

answers:

1

I have an external web app, which needs to connect to Facebook and get user data like contacts, etc. I have successfully setup Facebook connect on my website. now i need to know how I can get a Facebook session key and then get data calling Facebook's Rest Java API. Is there a clear tutorial that does just that?

+1  A: 

I have found this article from NetTuts to be really good:

http://net.tutsplus.com/tutorials/other/authenticating-users-with-facebook-connect-and-google-friend-connect/

Update: just found this tutorial from the FB Team itself:

http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1

Update 2: I think this answers your question directly:

http://wiki.developers.facebook.com/index.php/Auth.getSession

Tony Miller
It does not really explain how to get the session key needed to make api calls...
Pranav