当动作和对象不是一对一时,Facebook 开放图形布局
我正在构建开放图形对象和操作,以便与我正在开发的应用程序一起使用,并且想知道当单个操作连接到两个不同的对象时是否可以有两种不同的附件布局。
例如:我有一个操作“Earn”和两个连接的对象Points和AnObject,用于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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,没有。我们希望同一行动保持一致。如果它们是不同的动作,则只需执行两个动作即可。如果它们相同,则它们应该具有一致的渲染。
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.