views:

658

answers:

2

hey

i am building mobile website and i want to integrate facebook connect. in my regulat site i am using facebook connect that uses the cookie for getting the session key,

on mobile this cookies method for getting the session is not recommended, i think.

what ivgot so far is that i call to login rest server and then it return to me the

?auth_token

i understand that i need to ask using the auth token for session key, how can i accomplish this ?

this is the url that i am using

http://www.facebook.com/login.php?api%5Fkey=apikey&v=1.0&next=mysite

maybe i dont fully understand how to accompish facebook connect on mobile and there another way.

thank u guys

A: 

i am using the .net framework

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

this will resolve my problem

it return the session

thank to me

avi
A: 

Thank you!! I had the exact same problem! it made me tear my hair out! A single copy and paste of your line and no trouble anymore!

Thank you very much now I can sleep :D

Abra