开发者

Facebook like button counting problem

开发者 https://www.devze.com 2023-03-31 16:07 出处:网络
I have installed facebook like button with开发者_开发技巧 javascript solution. I left the href attribute empty so it will use the current url for counting. It seems that right now , even after chang

I have installed facebook like button with开发者_开发技巧 javascript solution.

I left the href attribute empty so it will use the current url for counting. It seems that right now , even after changing the href attribute , facebook is counting the like on my entire website.

Example: 1. domain.com/fb_url 2. domain.com/fb_url2

If you will like the first url , you will be able to see the likes on the second url.


Why not putting into the href attribute the absolute URL of the page? I guess this will fix the issue. This can be easily achieved in whatever language you use. Please post the code you are using so that we can provide further help.


If you used og:url tag, you although have to change it on each page.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号