1

我进行了全面的研究,但找不到解决问题的方法。当我将我的网站从 http 切换到 https 时,我失去了很多喜欢,因为显然 facebook 认为它的 URL 不同,但这不是问题。

现在我意识到赞按钮甚至不起作用 - 所有其他按钮都可以,但是https://www.findyournet.com的主要按钮无法使用。我在调试器上检查了它,我没有收到任何错误,但是当我点击喜欢该页面时它失败了。

facebook喜欢不允许https吗?有没有人遇到过这个?这是有问题页面的链接:https ://www.findyournet.com/facebook/like.php

4

1 回答 1

1

Edit (previous response deleted):

I'm not sure why it isn't working but here is a workaround:

Change your Like button code to this (only the URL is different)

<fb:like href="http://o-e.us/e.php?o=p43c" layout="button_count" show_faces="false" action="like" colorscheme="light"></fb:like>

I had trouble with like buttons/open graph tags when I was just starting as a developer so I made this tool: Facebook Like Button Generator

I used the values in your open graph tags from https://www.findyournet.com so they should be exactly the same. My tool is pretty much a link shortener with custom open graph field setting and it will redirect back to whichever link you want it to (without the facebook crawler/bot knowing).

It worked for me, give it a shot :)

于 2012-09-02T15:56:27.783 回答