Click here to Skip to main content
15,907,392 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,
I am trying to write a code to login to my website using Facebook. I have managed to login and fetch user details using following code:

VB
Response.Redirect(@"https://graph.facebook.com/oauth/authorize?client_id=" +
             facebookClientId + "&redirect_uri=http://" + host +
             @"/FBcallback.aspx&scope=email,publish_stream,offline_access,publish_actions,user_online_presence");


I want to check whether user is online or not i have included the user_online_presence permission . So when user grants me the permission and i have the access token how can I check whether he is online or not?
Posted
Comments
ZurdoDev 17-Jul-13 7:51am    
I would recommend checking the facebook API documentation or using their developer forum. It seems likely you'll get a response much quicker that way.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900