What data can be obtained about a user who logs in with Facebook Oauth?

前端 未结 2 519
温柔的废话
温柔的废话 2021-02-10 06:29

I\'m currently using OpenID to allow users to login to my website using Google as a provider. I\'m thinking about allowing users to use Facebook to login as well. When a user

2条回答
  •  太阳男子
    2021-02-10 07:20

    Here's the list of what I get when accessing https://graph.facebook.com/me:

    • id
    • name
    • first_name
    • last_name
    • link
    • username
    • about
    • work
    • education
    • gender
    • email
    • timezone
    • locale
    • verified
    • updated_time

    If you look at https://developer.facebook.com they have a bunch of tools which let you poke around and test URLs.

提交回复
热议问题