views:

214

answers:

1

Hi all.
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.

My flow is like this:

  1. I send the user to https://graph.facebook.com/oauth/authorize with all required extended permissions.
  2. In my redirect page I get the code from Facebook.
  3. Then I perform a HTTP Request to *graph.facebook.com/oauth/access_token* with my API key and I get the Access token in the response.

From that point on I can't get the user ID.

does anyone know anything about this?

A: 

If you want to use Graph API to get current user ID then just send a request to:

https://graph.facebook.com/me?access_token=...
serg
Thanks. missed that.
Mohoch

related questions