facebook - How to access user's profile page using access token? -


I am creating an iOS app that displays the user's Facebook profile after post feeds and photos via my app. . I used the Facebook Single-Sign-On to post the token for posting.

I'm wondering how can I display the user's profile page, even without the login web browser. Can I use access tokens obtained from one-sign-on to view the user's Facebook profile page? If it does, then how? If not, what is the alternative, I've struggled for a few days, and it can not work.

Many thanks in advance!

If you want to display a user's Facebook page, you are the only user who has user id You have two ways to do:

1) The user allows your Facebook application and gives you the right. After that get the User ID

For this, you need to ask the user for privileges from the user and callback you get the user id via the graphiepi or javascript sdk.

2) You know the user you want to appear on the webview.

You should know who you want to show or not, to show only a few things, you have to show any Family Forbows page which is http: // www Facebook.com/{userID } Like

If it is not, please give us some code or give a deeper description of your problem.

Hope that helps.

Comments