权限从publish_stream迁移到publish_action
我想知道您是否拥有publish_stream 的用户权限,并且您希望从现在开始publish_action,publish_stream 是否涵盖这两者,还是我们需要重新请求用户权限?
如果是这样,检测他们是否已授予此权限等的最简单方法是什么。
欢迎用户旅程建议。
我现有的登录系统是用户可以使用 Facebook 或他们的帐户凭据。
但有些用户没有使用 Facebook 进行注册,而是稍后再连接。我不会在他们每次登录时创建会话,因为我只需要publish_stream 权限,该权限无需与facebook 进行实时用户会话即可在用户执行特定操作时发布。表中有一列指定用户是否已连接。
欢迎提出建议。
谢谢!
-斯特凡
I am wondering if you have a users permission to publish_stream and you want to publish_action from now on does publish_stream cover both or do we need to re-request the users permission?
If so whats the easiest way of detecting wether they have this permission granted etc.
User journey suggestions welcome.
The login system I have in place is users can use with facebook or their account credentials.
But some users sign up without facebook and then connect later. I don't create the session every time they login as I only need the publish_stream permission which works without needing a live user session with facebook to post when the user does specific actions. There is one column in the table which specifies wether the user is connected or not.
Suggestions welcome.
Thanks!
-Stefan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
截至目前,publish_stream 包含publish_actions 权限。
请参阅https://developers.facebook.com/docs/publishing/#publish_stream
As of now, publish_stream includes publish_actions permissions.
see https://developers.facebook.com/docs/publishing/#publish_stream
publish_stream 和publish_actions 是两个独立的权限。 publish_stream 不包括publish_actions。
要将操作发布到开放图,您需要为新用户和现有用户获取此新权限。
您可以通过从 Graph API 获取 /me/permissions 来检查用户授予您的应用程序的权限。
在最新版本的权限对话框中,用户可以选择不授予publish_stream - 它始终是可选权限。如果应用请求publish_actions,则认为需要此权限。
一旦时间线在开发者测试版之后启动,您就不需要请求publish_stream。如果您想发布摘要故事,请使用摘要对话框。
publish_stream and publish_actions are two separate permissions. publish_stream does not include publish_actions.
To publish actions to the open graph, you will need to get this new permission for new users and for existing users.
You can check the permissions a user has granted your app by GETing /me/permissions from the Graph API.
In the latest version of the permissions dialog, users will have the option to NOT grant publish_stream - its always an optional permission. If the app requests publish_actions, this permission is considered required.
Once Timeline has launched beyond Developer Beta, you should not need to ask for publish_stream. If you want to publish a feed story, use the Feed Dialog.
Publish_stream 从 v2.2 开始已弃用,这就是为什么你不能使用,只是 publish_action 你仍然可以使用使用,
https://developers.facebook.com/docs/facebook-login/permissions
问候
djavalatte.com
Publish_stream is Deprecated Permissions from v2.2, that's why u can not use, just only publish_action u can still use,
https://developers.facebook.com/docs/facebook-login/permissions
regards
djavalatte.com
您必须请求
publish_stream
作为新权限,因为提示有很大不同。它更多地围绕“添加到时间线”和直接许可。要知道您是否获得许可,您可以做很多事情。最简单的就是尝试发布,看看是否成功。但这会扭曲你的洞察指标。更好的方法是使用访问令牌信息端点并检查您在那里的范围。
You must request
publish_stream
as a new permission because the prompt is much different. It is more around "Add to timeline" and a straight up permission.To know if you have the permission, you can do many things. The easiest is to try and publish and see if it succeeds. but that will skew your metrics in insights. Better is to use the access token info endpoint and check the scopes you have there.
我已仅使用publish_stream 权限成功将操作发布到时间线。我不能说当它完全启动时是否会出现这种情况,或者它是否只是因为开发人员的测试版而起作用。距离正式发布还有 48 小时,我们可以通过查看测试版来确定。 http://developers.facebook.com/support/beta-tier/
I have successfully published actions to the timeline with only the publish_stream permission. I cannot say if this is will be the case when it is fully launched or if it's only working because of the developer's beta. We can know for sure once we're 48 hours away from the official launch by checking out the beta tier. http://developers.facebook.com/support/beta-tier/