当动作和对象不是一对一时,Facebook 开放图形布局

发布于 2024-12-29 04:51:07 字数 260 浏览 2 评论 0原文

我正在构建开放图形对象和操作,以便与我正在开发的应用程序一起使用,并且想知道当单个操作连接到两个不同的对象时是否可以有两种不同的附件布局。

例如:我有一个操作“Earn”和两个连接的对象PointsAnObject,用于points对象我希望附件预览为“Number”,但是对于 AnObject 对象,我希望附件预览为“Item”。这样的事情可能吗?或者我是否必须在两个对象上使用相同的附件权限?

I am building out open graph objects and actions for use with an application I am developing and would like to know if it is possible to have two different attachment layouts when a single action is connected to two different objects.

For example: I have an action "Earn" and two connected objects Points and AnObject, for the points object I would like the attachment preview to be "Number", however for the AnObject object I would like the attachment priview to be "Item". Is something like this possible? Or do I have to use the same attachment priview on both objects?

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

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

发布评论

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

评论(1

明天过后 2025-01-05 04:51:07

抱歉,没有。我们希望同一行动保持一致。如果它们是不同的动作,则只需执行两个动作即可。如果它们相同,则它们应该具有一致的渲染。

Sorry, no. We want consistency within the same action. If they are different actions, then just make two actions. If they are the same, they should have consistent rendering.

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