Facebook connect for mobile? auth_token

I am creating a mobile site and I want to integrate a facebook connection in my regular site.

I am using facebook connection which uses cookie to get session key, on mobile this cookie method to get session is not recommended i guess.

what I have so far is that I call the server to login and then it returns to me

?auth_token

I understand that I need to ask using an authentication token for the session key, how can I do this?

This is the url I am using http://www.facebook.com/login.php?api_key=apikey&v=1.0&next=mysite

Maybe I don't quite understand how to connect to Facebook on a mobile phone, and there is another way.

+2


source to share


1 answer


I am using .net framework

string authToken = Request.QueryString ["auth_token"]; facebook.Schema.session_info s = a.getSession (authToken);

this will solve my problem



it returns the session

thanks to me

0


source







All Articles