[英]How do I find out if my Open Graph app has already been added to the Timeline programmatically?
Assume, that besides using the "Add to Timeline" Social Plugin I want to show a specific message to the user only if she did not yet add my app to her Timeline. 假设,除了使用“添加到时间线”社交插件外,我还想向用户显示特定消息,前提是该用户尚未将我的应用添加到时间线中。
Is there any method in the JavaScript SDK that lets me check for that? JavaScript SDK中是否有任何方法可以让我检查一下?
According to what i have read, add to Timeline plugin is available through the Javascript SDK via the XFBML tag. 根据我阅读的内容,可以通过XFBML标签通过Javascript SDK来添加到Timeline插件。 https://developers.facebook.com/docs/reference/plugins/add-to-timeline/ https://developers.facebook.com/docs/reference/plugins/add-to-timeline/
There doesn't seem to be a call that we can subscribe to at the moment. 目前似乎没有可以订阅的电话。
There is no coverage of how to read from the timeline via the various APIs [yet]. 还没有介绍如何通过各种API从时间轴读取数据[尚未]。
However you can capture and save the ID of any post made, store that in your local database and use it to reference off of either for determining what to share or to let them delete previous posts. 但是,您可以捕获并保存所发布的任何帖子的ID,将其存储在本地数据库中,并使用该ID来确定要共享的内容或让他们删除以前的帖子。
This is a good practice even if the ID doesn't help you as both Facebook and the user want you to be transparent in your posting and the management of said posts. 即使ID并不能帮助您,这也是一个好习惯,因为Facebook和用户都希望您在您的帖子和所述帖子的管理中保持透明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.