Facebook 被屏蔽,显示替代内容?
我在越南运营着许多网站,例如有关纽约市的 www.nyc.vn。我遇到的问题是 Facebook 在越南被屏蔽,当被屏蔽的用户查看该页面时,粉丝框和点赞按钮在 iframe 中都显示为损坏的链接“找不到页面”。
我知道大约 30% 的访客有办法绕过街区,因此希望给他们机会喜欢等等,但我想向另外 70% 的访客展示其他东西。
这有可能吗?
干杯,
安德斯
I run a bunch of websites in Vietnam, such as www.nyc.vn about New York City. The problem I have is that Facebook is blocked in Vietnam and that both the fan-box and like-buttons are shown as broken links in iframes "Page could not be found" when a blocked user views it.
I know that around 30% of visitors have a way around the block and thus want to give them the opportunity to like etc., but I would like to show the other 70% something else.
Is this possible somehow?
Cheers,
Anders
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用来自 facebooks cdn 的按钮图像,您可以观察这些图像的 onerror-event,如果它触发,请将周围的链接替换为其他内容(希望它触发,我不知道他们如何在越南阻止它)
If you use button-images from facebooks cdn you can observe the onerror-event of these images and if it fires replace the surrounding link with something else(hope it fires, I don't know how they block it in vietnam)