使用 Open Graph Beta,如何在应用程序中发布两个 Facebook 用户是好友的信息?
在我们的应用程序中,您可以互相成为朋友(就像在 Facebook 上成为朋友一样)。
是否可以使用 Open Graph Beta 在动态消息、股票代码和时间线中发布更新,表明用户(已通过“添加到时间线”进行身份验证)已与另一个用户(对象)“成为朋友”(操作) )?您似乎无法将 Facebook 个人资料作为对象进行访问,那么如何实现这一点呢?还是不可能?
In our app, you can be friends with each other (just like you can be friends on Facebook).
Is it possible to use the Open Graph Beta to post an update in the News Feed, Ticker, and Timeline that a user (who is already authenticated with "Add to Timeline") has "become friends" (action) with another user (object)? It doesn't appear that you can access Facebook profiles as objects, so how would this be accomplished? Or is it not possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只能将其发布为正常状态更新或图形活动提要,并带有硬编码文本“约翰现在是内森的朋友”。 Graph API 目前不允许您标记用户,以便将帖子链接到用户帐户。
You could only post that as a normal status update or graph activity feed with hard coded text "John is now friends with Nathan". The Graph API does not currently allow you to tag users so that the posts could be linked to the user account.