Get Facebook userID from access token

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

I've seen some answers say https://graph.facebook.com/me?access_token=abc but I think this is wrong as this gets the details of the currently logged in user, not the user in the access token.

Answers


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?

php

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.