How do cars like facebook page from another site?

On the facebook page, we can click a similar button to like the page. How can we use any api or plugin for implementation from another site?

+5
source share
3 answers

You cannot automatically use the object for the user, and you cannot submit it through the API. This does not allow anyone to "secretly" have users as pages / objects.

The solution is to insert a similar button on your page and give users a clear reason for using [sell profit to love your page]. You can launch a separate version for individual pages, objects, or just an aggregation button for your entire site using the data-href element.

http://developers.facebook.com/docs/reference/plugins/like/

+3
source

You can check if you like your page:

FB.api('/me/likes', function(response) {
  console.log(response);
});

Scroll through the answer and find your page id.

+1
source

All Articles