MyBB Community Forums

Full Version: FB Like button keeps resetting to zero
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://developers.facebook.com/tools/deb...earena.com

Shows the errors and I see a plugin that might address these errors, but I'm not really so interested at this point in what content is displayed. I'm more interested in getting the numbers to successfully increase when someone clicks it.

Will fixing these errors fix the increase problem? Or is there something else going on?

Okay, after installing the plugin, it seems to have fixed most of the errors. We'll see if this was the source of the likes not accumulating...

If anyone knows anything about this issue, please lend a reply.

The plug in didn't help. Still resetting to zero. Nobody has a clue? I can't be the first one to have implemented Facebook like in mybb.
Bump..;.;....
Please take look at here: https://developers.facebook.com/docs/ref...gins/like/ and it will explain in detail.

If you still facing problems, post your code that you have used in your forum.
The link you provided is where I made the button.

The code:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchinaphonearena.com&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;font=arial&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=117777795070982" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>

I've tried it with HTML, IFRAME, HTML5 with the same result.

It's still resetting to zero. What's interesting is if I run my website through the debug tool, it INSTANTLY gets it's count back. If it's reading '0', then go run the URL through facebook debugger it sets it back to '4'. Some hours later it will return to '0'. If running the URL through the debugger, instantly back to '4' again.

You can see there's no errors in the debugger.

http://developers.facebook.com/tools/deb...earena.com
Bump.2.2...
Bump 3 3

Still resetting to 0. Have tried removing the app id altogether, but doesn't help. Running the website name through the debugger instantly sets it's count back to what it's supposed to be. Hour or so later, resets back to 0.

looks like problem solved. Needed to change the link from site.com to the redirect link which was site.com/forum
I haven't quite followed this thread after my reply. Good to see you have solved the problem.