سؤال

I'm wondering if it is possible to synchronize the likes between the like button on your actual page & the likes you get on facebook itself!?

For example..... we currently have 15 likes on FB but the AddThis widget on our website only shows 1 like.

So I'm wondering, is there a way you can synchronize the two either with AddThis or ShareThis; doesn't matter the platform, just would prefer it to be synchronized.

I take it if you grab the code from facebook itself rather then use these services then it will be synchronized?

هل كانت مفيدة؟

المحلول

If you specifically point your like URL fb:like:href="THE URL" to your Facebook page when you call the AddThis like button it should be in sync with the likes there.

Like so:

<a class="addthis_button_facebook_like" fb:like:href="THE URL TO YOUR FACEBOOK PAGE"></a>

For example:

<a class="addthis_button_facebook_like" fb:like:href="http://www.facebook.com/nike"></a>

Because you reference FB Social Plugins in your tags, I can confirm that this is definitly the case for Facebook's own like button.

<div class="fb-like" data-send="false" data-layout="standard" data-width="450" data-show-faces="false" data-colorscheme="light" data-action="like" data-href="http://www.nike.com/"></div>

gives the likes for that site. And:

<div class="fb-like" data-send="false" data-layout="standard" data-width="450" data-show-faces="false" data-colorscheme="light" data-action="like" data-href="http://www.facebook.com/nike"></div>

Gives the likes displaying for their FB page.

نصائح أخرى

I believe the issue there is a misunderstanding of the platforms or possible confusion with semantics. Someone can 'like' content on your website via a widget which will share that like to their Facebook profile. Additionally, you can display the amount of likes your website's page has with a Facebook widget or AddThis widget.

However, if you share a page from your website's Facebook page and users can like that, however that will not increment the displayed likes in the widgets aforementioned. Hopefully that clears it up?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top