OpenGraph API Beta:publish_action 与publish_stream

发布于 2024-12-06 02:35:51 字数 688 浏览 1 评论 0原文

今天,Facebook 宣布了一种全新的方式,可以通过您的应用程序共享您网站上的用户操作。 文档是解释事情如何工作的一个很好的尝试,但如果我还没有构建一个脱离现有 OpenGraph API 的复杂应用程序,我可能会迷失方向。

根本不清楚的是“旧”权限会发生什么。 Facebook 希望我们提示用户授予publish_action 权限。我假设我可以开始(或者我还不能开始吗?这里不清楚何时可以在我的实时网站上使用)立即将publish_action作为权限传递到我的getLoginUrl(PHP SDK)调用中。

现在的“旧”publish_stream 权限会发生什么情况?我两者都需要吗? publish_stream 会被吓倒吗?是否可以将已授予的publish_stream权限转换为publish_action,这样我就不必提示所有用户提供新权限并将他们吓跑?如何保证我的应用程序面向未来? Facebook 几个月前向应用程序开发人员发布的垃圾邮件算法又如何呢?该算法杀死了人们的应用程序,因为他们“滥用”了发布机制……这些新操作是否存在这种情况?有没有什么指南可以指导如何不惹怒算法大神而被封禁?

我意识到新的 API 是在几个小时前才刚刚宣布的,但这些都是重要的问题,我严重怀疑我是唯一拥有这些问题的人。我很想听听对此的一些反馈。

Today, Facebook announced an entirely new way to share user actions on your site on through your app. The documentation is a good attempt at explaining how things work, but if I hadn't already built a sophisticated app off the existing OpenGraph API, I would probably be lost.

What's not made clear, at all, is what happens to the "old" permissions. Facebook wants us to prompt our users for the publish_action permission. I assume I can start (or can I not start yet? not clear here when this is usable on my live site) passing publish_action as a permission in my getLoginUrl (PHP SDK) call immediately.

What happens to the now "old" publish_stream permission? Do I need both? Will publish_stream be fazed out? Can already granted publish_stream permissions be translated in to publish_action so I don't have to prompt all my users for a new permission and scare them away? How do I future proof my app? What about that SPAM algorithm Facebook unleashed on app devs a few months ago, killing people's apps because they were "abusing" the publishing mechanism... does that exist for these new actions? Is there any guidance on how not to upset the algorithm gods and get banned?

I realize the new API was only just announced a few hours ago, but these are important questions and I seriously doubt I'm the only one that has them. I'd love to hear some feedback on this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

简单爱 2024-12-13 02:35:51

您今天就可以开始测试publish_actions,但在开放图谱更广泛地发布之前,不应在生产应用程序中向用户询问。

publish_stream 将继续存在以提供更明确的帖子,但我们鼓励应用程序对时间轴应用程序使用开放图。

You can start testing publish_actions today, but shouldn't be asking users for it yet in your production apps until open graph launches more broadly.

publish_stream will continue to exist for more explicit posts, but we encourage apps to use open graph for Timeline apps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文