如何清除我网站上的 Facebook Activity Feed 插件内容
我不久前在我的网站上安装了 Facebook Activity Feed 插件,同时该网站正处于深入开发阶段。从那时起,Web 应用程序中的网站结构和 URL 发生了显着变化,但是 Facebook 插件很好地捕获了所有用户的“喜欢”和“分享”,包括那些引用已删除资源的用户。这些活动仍然显示在插件中,其中一些存在令人不快的错误(因为引用的 URL 上没有资源可以为 Facebook 提供良好的 Open Graph META)。
我想做的是重置插件,使其“忘记”之前的所有活动,但是我找不到如何执行此操作。看起来活动历史记录存储在 Facebook 端的某个位置。
我的问题的自然答案是处理所有导致不存在页面的 URL,但由于多种原因我无法这样做。 任何有关此事的帮助将不胜感激!
I've installed the Facebook Activity Feed plugin on my website some time ago, while the site was in deep development phase. The site structure and URLs within the web app have changed significantly since then, however Facebook plugin did good job to capture all users 'likes' and 'shares' including those referring to deleted resources. And these activities are still shown in the plugin, some of them with unpleasant errors (because there is no resource at referred URL to provide Facebook with nice Open Graph METAs).
What I would like to do is to reset the plugin so it 'forgets' all previous activities, however I can't find how to do this. Looks like the activity history is stored somewhere on Facebook side.
The natural answer to my question would be to handle all those URLs that lead to not existing pages, but due to number of reasons I can't do that.
Any help on this matter would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法删除该内容。内容完全由 Facebook 控制。问题是所有这些活动实际上都与用户的帐户相关联。由于您无法控制用户帐户的内容,因此您无法控制活动源的内容。
您可以做的一件事是设置活动源的过滤器参数。
“过滤器 - 允许您过滤插件中显示的 URL。插件将仅包含在 URL 的前两个路径参数中包含过滤器的 URL。如果 URL 的前两个路径参数中没有任何内容与过滤器匹配,该 URL 将不会被包含在内。”
通过使用过滤器参数,您可以将提要设置为仅包含您想要的网址并忽略旧的网址。
You can't delete the content. The content is entirely controlled by Facebook. The problem is that all these activities are actually associated with user's accounts. Because you can't control the content of a user's account, you have no control over the contents of the activity feed.
The one thing you could do is to set the filter parameter of the activity feed.
"filter - allows you to filter which URLs are shown in the plugin. The plugin will only include URLs which contain the filter in the first two path parameters of the URL. If nothing in the first two path parameters of the URL matches the filter, the URL will not be included."
By using the filter parameter, you could set your feed to only include urls that you want and leave out the old ones.