facebook like box 插件错误
下午好。我正在努力将 facebook like box 实现到网站中。我已经在此 Facebook 页面上生成了代码
https://developers.facebook.com /docs/reference/plugins/like-box/
生成以下代码:
问题是当我在 Internet Explorer 中测试页面时,我收到以下错误
找不到 '文件://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FStripeworX%2F203309163017772&宽度=292&高度=300&colorscheme=light&show_faces=true&border_color&stream=true&header=true'。确保路径或 Internet 地址正确。
谢谢,任何可以提供的信息将不胜感激!
Good afternoon. i am working on implementing the facebook like box into website. i have generated the code on this facebook page
https://developers.facebook.com/docs/reference/plugins/like-box/
which generated the following code: <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FStripeworX%2F203309163017772&width=292&height=300&colorscheme=light&show_faces=true&border_color&stream=true&header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:300px;" allowTransparency="true"></iframe>
The issue is when i test the page in internet explorer i receive the following error:
Cannot find
'file://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FStripeworX%2F203309163017772&width=292&height=300&colorscheme=light&show_faces=true&border_color&stream=true&header=true'. Make sure the path or Internet address is correct.
thank you, any information that can be provided is appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在
iframe
的scr
属性开头添加http
或https
。看来您正在进行某种本地开发,并且协议的省略使您的平台相信
iframe
的源是本地文件。Try adding an
http
orhttps
at the beginning of thescr
attribute of theiframe
.It appears that you are doing some sort of local development and the ommision of the protocol makes your platform believe that the source of the
iframe
is a local file.