Due to user error, a situation has arisen in which my database holds an Oauth token for a facebook user without that person’s facebook id, proper name, or the email linked with the facebook account. Using only the Oauth token, is it possible to get the user’s facebook id or other information?
Share
The token holds all the information you need – as explained by Ben Biddington (and probably many other places) part of the token (between the pipes (
|)) is the session-key, in this format:so if your token looks something like
the session-key is
and then the user id will be
987654321