Facebook Like 按钮 - 如何防止活动流进入用户的墙?
有人可以帮我解决如何完全阻止用户的活动流在喜欢链接后发回到他们的墙上吗?因为,我真的觉得这很烦人。毕竟,我的应用程序需要集成到图像库查看器中,提供超过 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,您无法控制在人们点击“赞”时不向他们的活动源发送项目,除非您的域因垃圾邮件而被阻止。您需要为每个独立图像创建一个动态 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.