如何允许用户打开/关闭添加到时间线帖子?
我正在构建一个使用“添加到时间线”功能来发布到用户墙的应用程序。然而,现在我想让用户决定是否要发布到他们的墙上;本质上是一个开/关添加到时间线的切换。有什么想法吗?
例如,如果他们正在阅读新闻报道 - 用户可以决定是否要使用添加到时间线来发布。当使用您的 Facebook 帐户登录并观看视频时,Dailymotion 会出现此情况。视频正下方显示“社交开启”,其中包含将发布到您的时间线的内容的预览。
提前致谢。
干杯。
I am building an app that uses the Add to Timeline functionality to post to a users wall. However, now I want to allow the user to decide if they want to post to their wall or not; essentially an on/off add-to-timeline toggle. Any ideas?
For example, if they are reading a news story - the user can decide if they want to post using add-to-timeline or not. Dailymotion has this when logged in using your facebook account and viewing a video. Right below the video shows a 'Social On' with a preview of what will be posted to your timeline.
Thanks in advance.
Cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看社交阅读器应用程序如何做到这一点。我们与所有启动应用程序合作设计隐私控制,让您启用/禁用向时间线发布活动,或删除最近的特定活动。
以下是《卫报》常见问题解答的更多内容: http://www.guardian.co.uk/help/insideguardian/2011/sep/22/the-guardian-on-facebook-app
来自独立报:http://www.independent.co .uk/news/media/online/recently-read-on-the-independent-2359683.html
从技术上讲,它是应用程序中的一个开关,决定您是否将帖子发布到 FB 或 不是。如果您希望允许用户永久删除您发布时间线的能力,您可以在
上执行 HTTP DELETE https://graph.facebook.com/me/permissions/publish_actions
并且该权限将以编程方式撤销。
Have a look at how social reader apps do this. We worked with all the launch apps do design privacy controls that let you enable/disable posting activity to timeline, or remove a recent specific activity.
Here's more from the Guardian's FAQ's: http://www.guardian.co.uk/help/insideguardian/2011/sep/22/the-guardian-on-facebook-app
And from The Independent: http://www.independent.co.uk/news/media/online/recently-read-on-the-independent-2359683.html
Technically, its a switch within your app which decides if you make the post to FB or not. If you want to allow the user to permenently remove your ability to publish Timeline, you can perform an HTTP DELETE on
https://graph.facebook.com/me/permissions/publish_actions
and the permission will be programmatically revoked.