Is it possible to get the User Id without the authorization?

后端 未结 2 481
终归单人心
终归单人心 2021-01-17 06:58

Is it possible to get the user ID without authorization?

It used to work with getUser but it doesn\'t now. Are these new changes from Facebook or is the

相关标签:
2条回答
  • 2021-01-17 07:21

    No, users must give permission before you can get their user id.

    0 讨论(0)
  • 2021-01-17 07:22

    See http://developers.facebook.com/docs/reference/api/permissions/

    Basic Information

    When a user allows you to access their basic information in an auth dialog, you have access to their user id, name, profile picture, gender, age range, locale, networks, user ID, list of friends, and any other information they have made public.

    To get access to any additional information about the user or their friends you need to ask for specific permissions from the user.

    0 讨论(0)
提交回复
热议问题