What are user fields publicly accessible through Facebook Graph Api

facebook facebook-graph-api

285 просмотра

1 ответ

What are user fields publicly accessible through Facebook Graph Api (using an user access token or an app access token)? I mean not the logged in user.

So a call like this

GET /v2.7/{user-id} HTTP/1.1
Host: graph.facebook.com

where user-id is not me

Автор: danielevigi Источник Размещён: 08.11.2019 11:21

Ответы (1)


0 плюса

Witout authorization, no data at all can be read from a user. You MUST authorize the user, and you can just use /me with the User Access Token.

If a user IS authorized, it depends on the permissions. Some data needs additional permissions, without additional ones you only get stuff like id, name, first_name, last_name, age_range, picture, ...

A list of available fields can be found in the API reference: https://developers.facebook.com/docs/graph-api/reference/user

Автор: luschn Размещён: 20.08.2016 01:38
Вопросы из категории :
32x32