Get Facebook app-scoped user id from global Facebook id, or username
问题 If you have a Facebook, for instance Zuckerbergs user id '4', or username, 'zuck', how do you get the new app-scoped id with Graph v2.0 using the app's access token? Can't seem to find anything about this in the docs. 回答1: This is basically the answer given to the other-way-around question, Get Facebook User ID from app-scoped User ID . Basically, easiest straight forward flow is a call to https://graph.facebook.com/?ids=http://facebook.com/[FBID/USERNAME]&access_token=[APP_ID]|[APP_SECRET]