arrow_back
Back

Facebook User node: fields, edges, and permissions

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Reference: open_in_new User node .

Examples

Get the name field:

curl -i -X GET \
  "https://graph.facebook.com/your-facebook-user-id
    ?fields=name
    &access_token=your-access-token"

Update the email field:

curl -i -X POST \
  "https://graph.facebook.com/your-facebook-user-id
    ?email=you@your-email.com
    &access_token=your-access-token"

That request needs an access token with the email permission.

Edges

Get all photos:

curl -i -X GET \
  "https://graph.facebook.com/your-facebook-user-id/photos
     ?access_token=your-access-token"

That request needs an access token with the user_photos permission.

code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

Facebook access tokens: app ID, user ID, scopes, and expiry

arrow_forward