Skip to content

Plugin shows dynamicly your facebook page likes. I used jQuery to do this.

License

Notifications You must be signed in to change notification settings

MEJSIK/Facebook-Likes-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook-Likes-Counter

Plugin shows dynamically your facebook page likes. I used jQuery to do this.

IMAGE:

There are 2 variables which contains YOUR PAGE ID and YOUR ACCESS TOKEN:

    var token = 'YOUR_ACCESS_TOKEN_GETS_HERE';
    var pageId = 'YOUR_PAGE_ID';

If you want to get YOUR_ACCESS_TOKEN you must:
1) Create your app ( It's preety easy).
a) Get to: https://developers.facebook.com/
b) Click "MyApps" in the top right corner => "Add a New App".

2) Display Name is your app name ex. "My Access Token". 2nd field is your e-mail.

3) Now go to your app settings and you will see your "App ID" and "App Secret". Just copy and paste it to the script:

        var token = '{AppID}|{AppSecret}';

NOTE: This Access Token is without an expire date, so you can use it every time without change your Access Token. I know it was a problem for many developers to get lifetime acces token. It's long time expired, I don't think it's lifetime, just saying :)

And that's it. Run the index.html file. :)

This script can be used ex.for showing yourfans on the TV's in the shopping center.

About

Plugin shows dynamicly your facebook page likes. I used jQuery to do this.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages