I have a Facebook desktop application and am using the Graph API. I am able to get the access token, but after that is done - I don\'t know how to get the user\'s ID.
You just have to hit another Graph API:
https://graph.facebook.com/me?access_token={access-token}
It will give your e-mail Id and user Id (for Facebook) also.