Facebook 的 Like Box 无法使用 .GOV 域名
从此页面: http://developers.facebook.com/docs/reference/ plugins/like-box - 使用多个 .gov 域后 - cops.usdoj.gov、opm.gov 和bls.gov - 我收到此错误消息:找不到您请求的页面。
看来赞框不适用于 .gov 域
这是我的代码集:
iframe
iframe src =“http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fcops.usdoj.gov%2F&width=200&colorscheme=light&connections=5&stream= false&header=true&height=287" 滚动="无"frameborder="0" 样式="边框:无; 宽度:200px 高度:287px;" allowedTransparency="true"
XFBML
脚本 src="http://connect.facebook.net/en_US/all.js#xfbml=1">/script fb:like-box href="http://cops.usdoj.gov/" width=" 200" 连接 = "5" 流 = "假" header = "真" /fb:like-box
From this page: http://developers.facebook.com/docs/reference/plugins/like-box - After using several .gov domains - cops.usdoj.gov, opm.gov & bls.gov - I get this error message: The page you requested was not found.
It appears the like box is not working with a .gov domain
Here's my set of code:
iframe
iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fcops.usdoj.gov%2F&width=200&colorscheme=light&connections=5&stream=false&header=true&height=287" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:287px;" allowTransparency="true"
XFBML
script src="http://connect.facebook.net/en_US/all.js#xfbml=1">/script fb:like-box href="http://cops.usdoj.gov/" width="200" connections="5" stream="false" header="true" /fb:like-box
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
马克,我认为您可能误入歧途的地方是将这些 .gov URL 插入 Facebook 页面 URL 框中。 Facebook 页面 URL 框用于 Facebook 页面的 URL。因此:
http://www.facebook.com /#!/MartiansHaveLanded
进入 Facebook 页面 URL 框,
这应该会生成正确的代码。
Mark, I think where you may be going astray is plugging those .gov URLs into the Facebook Page URL box. The Facebook Page URL box is for URLs to Facebook pages. So:
http://www.facebook.com/#!/MartiansHaveLanded
into the Facebook Page URL box
That should result in the correct code being generated.