Please tell me if I\'m understanding correctly. (because I might not be.)
The idea is to make use of the Facebook JS-SDK methods:
FB.getLoginStatus()
)FB.api
method oraccess_token
to your server to complete the post process thereFB.login()
methodHere's a quick example (with a Live Demo!) for you to get started: