织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

Facebook oauth auDG游戏thorize URL and parameter opt

时间:2025-09-04 01:12来源: 作者:admin 点击: 6 次
Facebook provides some documentation on the parameters of oauth login. Login Dialog OAuth 2 Parameters are: client_id = Your App ID redirect_uri =

Facebook provides some documentation on the parameters of oauth login.

Login Dialog OAuth 2

Parameters are:

client_id = Your App ID

redirect_uri = Your App Website URL

display = page, popup, iframe, async, touch. How to display login.

scope = permission names. Permissions your app is asking the user to grant to your app.

state = a string included in the response back to your app.

response_type = code or token or both. Used in different ways depending on authorization flow.

Is there more information about different types of oauth functionality and the parameters that go with it?

I want information on how to structure the URL for oauth. I know of a couple of configurations. For example:

https://www.facebook.com/dialog/oauth? client_id=YourAppID &redirect_uri=The URL that you designated in your App Settings for your App &response_type=token //Whether you want a `code` returned, or a `token` returned, or both &scope=publish_stream // scope prompts the user for the type of permissions being asked for

I saw a discussion that showed this:

https://graph.facebook.com/oauth/authorize? client_id=123456789 &redirect_uri=http://example.com/ &scope=publish_stream,share_item,offline_access,manage_pages

Note the difference's of the URL's:

/dialog/oauth?

or

/oauth/authorize?

What does authorize do? Does it GRANT permissions instead of ASKING for permissions? Where is the documentation on this?

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-09-14 06:09 最后登录:2025-09-14 06:09
栏目列表
推荐内容