Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Recently I changed Facebook Like buttons on several of my sites for AddThis counting buttons which include the Facebook count (or so I assume that is what the number in the box next to 'f like' is).

From a code point-of-view this is simpler and gives also counts and sharing buttons for other services. However, the counts were mostly reset to 0 or at least to a much lower number than before.

Why the discrepancy? What could the two things be counting differently?

share|improve this question
    
Have you added this line to your pages' HTML tag: <html xmlns:fb="facebook.com/2008/fbml">; –  paulmorriss Jun 15 '11 at 13:35
    
No... What does that do? It's not in the instructions (See link in the question). –  Itai Jun 15 '11 at 14:04
    
Nothing helps so far... Is there any way to diagnose this? –  Itai Jun 25 '11 at 19:17
    
WHat were the offending elements? I have the same problem. –  user34002 Nov 25 '13 at 12:22

3 Answers 3

The page http://www.addthis.com/social-plugins/facebook-like-button states a different namespace to that mentioned above. It should be:

<html xmlns:fb="http://ogp.me/ns/fb#">

I've just tried it and it works fine, my counter is back.

share|improve this answer

Add this to the HTML tag at the top of each of your files:

<html xmlns:fb="http://www.facebook.com/2008/fbml">

This comes from this page: http://www.addthis.com/features/facebook-like-button

share|improve this answer
    
No effect... All counters remain the same. –  Itai Jun 15 '11 at 14:24
    
Other people have had the same problem: addthis.com/forum/… Do you want to check to see if you haven't made the same mistakes. –  paulmorriss Jun 15 '11 at 16:01
up vote 0 down vote accepted

It is a bug. I discovered that some of the AddThis customization options cause the FB totals not to be added correctly. I have stopped using the offending elements.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.