Take the 2-minute tour ×

I've added on my wordpress site facebook like buttons in a bunch of places. The strangest behaviour happens for all my posts under the "blog" page template. All my posts seem to have the same overblown counter (currently counting 199)

More than that, even on facebook "Like Button" widget page, for every url I type facebook shows me that same strange overblown counter.

You can see for yourself at:
http://vod.io/?page_id=7 - all posts have a 199 counter.
http://vod.io/?p=141 - single post has a 199 counter.

On facebook: developers.facebook.com/docs/reference/plugins/like/
typing directly http://vod.io/?p=141 will show that that page has a 199 counter

The actual code (wp php) for the "like" link:

    <div class="simplesocialbutton ssb-button-fblike">
    <!-- Facebook like--><div id="fb-root"></div>
    <fb:like href="http://vod.io/?p=<?php the_ID(); ?>" send="false" layout="button_count" width="100" show_faces="false" action="like" font="">

I've been straggeling with this for a while, but can't find any solution.

share|improve this question
Seams to work now? was it the same og:url problem? –  Mattias Wadman Jan 12 '12 at 16:06

1 Answer 1

up vote 0 down vote accepted

I think this is because all your pages set the og:url to http://vod.io// (with double slash). og:url is a way of overriding what URL Facebook should use in the graph for the current page, known as the "Canonical URL". If you use the Facebook debugger on the ?p=141 page you see "URL for Likes: http://vod.io//" and same like URL for ?p=144 page.

Solution is to provide proper og:url content for all pages or skip them and let Facebook infer the content by using the page URL.

But one mystery why Facebook thinks that the start page should have http://vod.io/ (without double slash) as Canonical URL despite that og:url is provided with double slashes, maybe some kind of URL normalizaton? and I have no idea where the 199 likes comes from, if you look in the graph is says 4 likes for double slash at the moment and 22 "shares" for single slash. Maybe the warning about redirect loop in the debugger is a hint?

Hope this helps.

share|improve this answer

Your Answer


