Facebook像按钮不起作用 [英] Facebook like button not working

查看:110
本文介绍了Facebook像按钮不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



> http://www.imageizer.com/



一旦检测到问题并解决问题,我将编辑这个问题,代表一个可以使SO社区受益的最小例证。不幸的是,我无法解决问题,因为我不知道是什么..



这是一个屏幕录像,演示了问题 http://see.weareinto.com/8Hbq

解决方案

我认为这是Facebook的结局发生的一个问题。但是,有一种方法可以修复它...只需复制您的页面的URL,并在其中输入它在Facebook LINTER工具:



Facebook LINTER - > < a href =https://developers.facebook.com/tools/debug =noreferrer> https://developers.facebook.com/tools/debug



我不知道为什么这个工作的确切细节,但是从我能够收集的内容,当您在您的URL上运行LINTER工具时,它也将更新缓存。 URL。按钮工作的错误是在Facebook的一面,所以运行这个工具,并让Facebook更新他们的缓存数据为您的页面,类似的按钮开始再次工作。我看到这个破碎的Facebook按钮出现了几个不同的原因,一个是用于使用旧的Facebook共享按钮的页面。当您将新的按钮添加到以前使用共享按钮的页面时,类似的按钮将无法正常运行,直到您通过linter运行页面。



底部线是这样做会修复你的按钮。如果您的Facebook按钮在页面上不起作用,请通过LINTER工具运行。希望这有帮助!


Facebook like button not working on my site.
It goes from like back to default as if it isn't passing some validation.

http://www.imageizer.com/

Once the problem is detected and solved, I'll edit the question to represent a minimal example that will benefit the SO community. Unfortunately I can't pull out the problem out yet as I'm not sure what it is..

Here is a screencast demonstrating the issue http://see.weareinto.com/8Hbq

解决方案

I believe this is a problem happening on facebook's end. But, there is a way you can fix it... Just copy the URL of your page and enter it in the Facebook LINTER tool here:

Facebook LINTER -> https://developers.facebook.com/tools/debug

I'm not sure of the exact details of why this works, but from what I've been able to gather, when you run the LINTER tool on your URL it will also update the cache facebook has for your URL. The error with the button working is on the facebook side, so by running this tool and getting facebook to update their cached data for your page, the like button starts working again. I've seen this broken facebook button occur for a few different reasons, one being that a page used to use the old facebook share button. When you add the new like button to a page that used to use a share button, the like button won't work until you run the page through the linter.

Bottom line is doing this will fix your like button. If your facebook button doesn't work on a page, run it through the LINTER tool. Hope this helps!

这篇关于Facebook像按钮不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆