Facebook – Get Facebook profile URL from app-scoped user ID

facebookfacebook-graph-api

A Facebook user's profile URL is http://facebook.com/USER_ID. However, with an app-scoped user ID, http://facebook.com/APP_SCOPED_USER_ID doesn't redirect to the user's profile page. How can I reach an user's profile page using just an app-scoped user ID?

Best Answer

Use the link field of the user object. This will look like the following:

https://www.facebook.com/app_scoped_user_id/{app_scoped_user_id}/