ZoRo
ZoRo

Reputation: 421

Like button on each page

I have a like button on my main page (master page in asp.net). I added a like button on each dynamic page. When I try to enter the link: http://www.friend.co.il/details.aspx?id=2321 to one of the dynamic page in face book developer page: http://developers.facebook.com/docs/reference/plugins/like/ I get the same number of like as the total site number and not just a number for the specific page.

Any body know whats I'm doing wrong?

Upvotes: 0

Views: 690

Answers (2)

bkaid
bkaid

Reputation: 52063

Remove your og:url meta tag and also be sure to not include the Facebook javascript file multiple times like you are currently doing.

Upvotes: 0

Martey
Martey

Reputation: 1631

Using Facebook's URL Linter on your dynamic page's URL shows that it has Open Graph tags that refer to your website's main page. As a result, Facebook thinks that the canonical URL for http://www.friend.co.il/details.aspx?id=2321 is http://www.friend.co.il/.

You should either remove the meta tags from your subpages, or construct them so that they properly represent the content on each page.

Upvotes: 1

Related Questions