Facebook page likes count api in javascript/jquery

You can get your Facebook page likes count in JavaScript/JQuery. You will require to pass your Facebook page id or Facebook page name and (App ID|App Secret).



You can get Facebook App ID and Facebook Secret Id from your developers account.

Visit https://developers.facebook.com and select your page in 'My Apps' and now you can get App ID and Secret ID.

 

Share This:

4 thoughts on “Facebook page likes count api in javascript/jquery

    • Saurabh Sharma

      Hello A Salam,
      your permanent access_token will be "AppID|AppSecret".
      So you will call the function like:
      facebookLikesCount('AppID|AppSecret');

Leave a Reply

Your email address will not be published. Required fields are marked *