Get Facebook userID from access token

Is it possible to get the userID using the access token?

I've seen some answers say but I think this is wrong as this gets the details of the currently logged in user, not the user in the access token.


The currently logged in user is the user in the access token - if you have a user access token, you're acting on behalf of that user.

The two shortcuts are /me and /app which are shortcuts for the user of that access token, and the app of that access token

Need Your Help

What does & in &$data do?


A quick beginner's question in PHP.

Xcode 7.1 Swift 2 Unknown class in Interface Builder file

ios xcode swift cocoa

I've created new Cocoa Touch File. Named it SwipingViewController.