Facebook Like 按钮 - 如何防止活动流进入用户的墙?

发布于 2024-12-03 14:22:30 字数 313 浏览 1 评论 0原文

有人可以帮我解决如何完全阻止用户的活动流在喜欢链接后发回到他们的墙上吗?因为,我真的觉得这很烦人。毕竟,我的应用程序需要集成到图像库查看器中,提供超过 7500 张照片,每张照片都有自己的“点赞”按钮。

如果这看起来不可能,是否有一种方法可以像提要和发送按钮一样专门将图像设置为缩略图、描述等?

因为,我的应用程序本质上是完全动态的,由 100% Javascript 构建,其中超过 80% 的内容是通过在静态单个 URL 下使用 Ajax 调用生成的。 因此,“like”按钮活动流总是会拉出超出预期的错误图像和描述(但对于 feed 和 send 按钮而言并非如此), 谢谢

Can someone please help me out as to how I can completely prevent the user's activity stream from posting back into their wall after they liked a linked? Because, I really find that to be annoying. Afterall, mine is an application that needs to be integrated into an image gallery viewer serving more than 7.5K photos each with its own like button.

If this seems impossible, is there a way to specifically set an image as thumbnail, description, etc as is with the cases of feed and send buttons?

Because, my application is purely dynamic in nature built out of 100% Javascript where more than 80% of its contents are generated by using Ajax calls under a static single URL.
As a result, the like button activity stream always end up pulling the wrong image and descriptions than desired(but this is not so for feed and send buttons),
Thank you

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

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

发布评论

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

评论(1

冷夜 2024-12-10 14:22:30

不,您无法控制在人们点击“赞”时不向他们的活动源发送项目,除非您的域因垃圾邮件而被阻止。您需要为每个独立图像创建一个动态 url 或 hashbang url,当请求这些图像时,托管页面将需要为缩略图、描述等设置适当的开放图元标记。然后对于画廊,您需要将 href 属性设置为此 url。

No, you won't have control over not sending items to peoples activity feeds when they click like, unless your domain gets blocked for spam. You would need to create a dynamic url or hashbang url for each independent image and when those images are requested the page hosting it would need to have the proper open graph meta tags sets for thumbnail image, description, etc. Then for each like button in the gallery, you would need to set the href property to this url.

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