我想在我的表单上有一个“分享到 facebook”复选框,如果选中,它会自动发送到 facebook,从而减少弹出窗口的需要。我需要为此获得哪个 facebook 扩展权限?我分不清是哪一个?publish_actions 是否正确?或者这是矫枉过正?
另外,我希望对用户不具有侵入性,我注意到 Tripadvisor 处理得很好,他们有“分享开启”、“分享关闭”模式,而且他们每次都会再次询问您。如果没有任何作用,有谁知道为什么他们有“共享开/关”?我想要这个开/关系统,但它是如何工作的呢?
我想在我的表单上有一个“分享到 facebook”复选框,如果选中,它会自动发送到 facebook,从而减少弹出窗口的需要。我需要为此获得哪个 facebook 扩展权限?我分不清是哪一个?publish_actions 是否正确?或者这是矫枉过正?
另外,我希望对用户不具有侵入性,我注意到 Tripadvisor 处理得很好,他们有“分享开启”、“分享关闭”模式,而且他们每次都会再次询问您。如果没有任何作用,有谁知道为什么他们有“共享开/关”?我想要这个开/关系统,但它是如何工作的呢?
publish_action
permissions allow you to post OpenGraph actions and object. These are automatically posted, publication of OG are re kept in a ticker box on user profile and can appear in the news feed. Most Facebook application use OG actions as they're less intrusive and more interesting from the story telling view point.
If what you want is to publish a post to wall; like an image sharing or a website. Then you'll want publish_stream
permissions, and you'll want to create new post
. This is basically what the sharing FB widget or the user sharing a link does. I'd advocate against using this one as it is intrusive and may bring you bad feedback (for spam) - and in the end, you'll just get blocked by FB.
So, look out OpenGraph and see if it matches your needs. If not, then prefer using really clear sharing functionnality at the cost of an extra popup as this will make it clear to the user and prevent bad feedback from bringing down you app.