Facebook 点赞框:“无法访问页面”错误

发布于 2024-12-14 20:28:11 字数 443 浏览 4 评论 0原文

我在 https://developers.facebook.com 创建了一个 Facebook Like-box /docs/reference/plugins/like-box/

但是当我尝试喜欢它时,它给出了如附图中所示的错误。当我点击错误链接时,它显示无法访问 https://www.facebook.com/phonekade 的页面。

这与我的其他 Facebook 页面配合良好。所以我不明白问题是什么。有人可以帮我吗?提前致谢。

图片: result

I created a fb like-box at https://developers.facebook.com/docs/reference/plugins/like-box/

But when I tried to like it, it gives the error as in the attached image. When I clicked on error link, it says The page at https://www.facebook.com/phonekade could not be reached.

This works fine with my other fb pages. So I can't understand what the problem is. Can anybody help me here? Thanks in advance.

Image: result

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

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

发布评论

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

评论(4

失去的东西太少 2024-12-21 20:28:11

您应该通过对象调试器运行您的页面。它有一些严重的问题。

http://developers .facebook.com/tools/debug/og/object?q=https%3A%2F%2Fwww.facebook.com%2Fphonekade

You should run your page through the Object Debugger. It has some serious problems.

http://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fwww.facebook.com%2Fphonekade

薄凉少年不暖心 2024-12-21 20:28:11

对我有用的是将 facebook 代码中的网站 url 更改为 https 而不是 http。出于某种原因,我这样做之后一切都正常了。然后我把它改回http,它仍然有效!

明确地说,我做到了:

<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpagename....

What worked for me was to change website url in the facebook code to https instead of http. For some reason after I did that everything worked. Then I changed it back to http and it still worked!

To be clear, I made it:

<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpagename....
银河中√捞星星 2024-12-21 20:28:11

我不知道是什么原因,但现在工作正常。我什么也没做。可能 Facebook 需要时间才能把事情做好。我昨天创建了这个页面,一整天后它现在工作正常。感谢所有试图帮助我的人。

干杯,

I don't know what the cause it, but it works fine now. I didn't do a thing. May be fb needs time to get things done properly. I created this page yesterday and after a full day it works fine now. Thanks all who tried to help me.

Cheers,

心房的律动 2024-12-21 20:28:11

尝试这个解决方案。它对我来说效果很好。

<?php }
$url = 'https://developers.facebook.com/tools/debug/og/echo?q='. $_SERVER['PATH_INFO'] ;
$response = file_get_contents($url);
?>

Try this solution. It works fine for me.

<?php }
$url = 'https://developers.facebook.com/tools/debug/og/echo?q='. $_SERVER['PATH_INFO'] ;
$response = file_get_contents($url);
?>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文