Facebook JS API not returning email

后端 未结 1 1226
面向向阳花
面向向阳花 2021-01-07 05:01

I\'m trying to setup a new app, identical to another app I setup. The client side code (php & js) is 100% identical except for a different app ID, and the original app w

相关标签:
1条回答
  • 2021-01-07 05:53

    Since v2.4 of the Graph API, you need to specify the fields in the API call:

    /me?fields=name,email
    

    Search for "Declarative Fields" in the changelog: https://developers.facebook.com/docs/apps/changelog#v2_4

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