Well basically this is what i want to do : When a User visits http://mydomain.com/file.html ,i want these to happen : 1. Redirect to location1 if person is already logged-in to his facebook account. OR 2. Redirect to location2 if person is not logged-n to his facebook account. Is this possible?
Sure. Start reading from here: http://developers.facebook.com/docs/reference/javascript/fb.getloginstatus/
i m not ablt to get it, if anyone can post an example code for http://mydomain.com/file.html it would be of great help to me. thanks
Yes it is possible... You need to write a fb app or use fb connect on ur site.... contact me for further info..
all this is concerning the particular APP SESSION, i need to know if a user is logged in to FACEBOOK or not, not the application.
facebook have not released any social plugin yet to know user login status without using a fb app or fb connect.... have a look at available social plugins at http://developers.facebook.com/plugins