martinkolle / Facebook-Like-Button

Facebook like button for Joomla 1.5, 2.5 and 3.0
http://martinkolle.github.io/Facebook-Like-Button
2 stars 0 forks source link

LIKE counter shows 59 likes ... where is this coming from #49

Closed dsdsdsdsd closed 10 years ago

dsdsdsdsd commented 11 years ago

hello.

I installed your LIKE button on http://www.b4x.si/.

If you check the source code you will see that there is no <meta property='fb:app_id' ...> (there is one that is commented out though).

However, the LIKE counter shows 59 likes ... where is it getting this number from. I would think that your LIKE component would need a fb:app_id, which it would callback to facebook during loadtime (via either fb-php sdk or fb-js sdk) to query the # of likes for that app_id.

martinkolle commented 11 years ago

Hello Shannon,

The 59 likes is at your website URL http://b4x.si. Which likes would you like to show?

Regards, Martin

2013/8/14 dsdsdsdsd notifications@github.com

hello.

I installed your LIKE button on http://www.b4x.si/.

If you check the source code you will see that there is no (there is one that is commented out though).

However, the LIKE counter shows 59 likes ... where is it getting this number from. I would think that your LIKE component would need a fb:app_id, which it would callback to facebook during loadtime (via either fb-php sdk or fb-js sdk) to query the # of likes for that app_id.

  • thanks, Shannon

— Reply to this email directly or view it on GitHubhttps://github.com/martinkolle/Facebook-Like-Button/issues/49 .

dsdsdsdsd commented 11 years ago

Martin, thanks.

It is fine that they represent the site's likes, but how is the LIKEButton component getting that info? There is no meta tag that expressly identifies the fb:app_id.

dsdsdsdsd commented 11 years ago

by the way, I edited my original post ... it was missing the meta tag code snippet ... I just added it into the op. -Shannon

martinkolle commented 11 years ago

Like is based on a URL not the admin id. When using the fb:app_id it gives a better integration with facebook pages.

If you just want to show your likes for your website there is no need to include it.

but how is the LIKEButton component getting that info

What do you mean?

You can read more in the officiel documentation: https://developers.facebook.com/docs/reference/plugins/like/