Facebook Graph API - authorization types?

后端 未结 5 1349
南旧
南旧 2021-02-10 22:34

I\'m struggling with the new Facebook Graph API, perhaps someone here can help.

Here is what I want to do: provide a ‘login w/ FB’ button, throw to /authorize, get a cod

5条回答
  •  -上瘾入骨i
    2021-02-10 22:48

    I think it should be something like that:

    https://graph.facebook.com/oauth/authorize?client_id=...&redirect_uri=...&scope=user_photos,user_videos,publish_stream&display=page

    The scope should specify permissions you need as listed here http://developers.facebook.com/docs/authentication/permissions

    Display values can be found here http://developers.facebook.com/docs/authentication/

提交回复
热议问题