Unable to get users' birthday via Facebook

后端 未结 3 1010
遇见更好的自我
遇见更好的自我 2021-01-14 17:46

I have been trying to get a Facebook user\'s birthday through Facebook Connect but I have not managed to do so. The same code worked previously and still works on other site

相关标签:
3条回答
  • 2021-01-14 18:09

    I had some success to query standard_user_info table via an offline access_token. But I cannot find documentation for the date format. The date I get is like "March 4, 1999".

    0 讨论(0)
  • 2021-01-14 18:16

    They have changed things up (again). When you build the Login button for Connect, you can request permission to the birthday, like:

    The documentation says, "Once the user authorizes your site, you can fetch those fields from the user's profile..."

    http://developers.facebook.com/docs/guides/web#login

    0 讨论(0)
  • 2021-01-14 18:22

    Facebook currently made birthday as extended permission. Did you allow birthday extended permission ? Until user approve birthday extended permission you couldn't retrieve his birthday.

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