I know there is a way to get the number of facebook likes using this approach:
But I can't figure out how I can do the same using facebook JavaScript SDK api()
. Does anybody know if that's possible?
I know there is a way to get the number of facebook likes using this approach:
But I can't figure out how I can do the same using facebook JavaScript SDK api()
. Does anybody know if that's possible?
I've figured that out myself:
FB.api(
"/" + siteUrl,
function (response) {}
);