dejanstojanovic / Facebook-Album-Browser

jQuery plugin for browsing public albums of a Facebook account
http://dejanstojanovic.github.io/Facebook-Album-Browser/
MIT License
74 stars 42 forks source link

Issue #52

Open forfucksayk opened 7 years ago

forfucksayk commented 7 years ago

I can't seem to get this working, even though my Page is public and I am using access tokens correctly. The page remains blank, so I'm guessing that maybe the API call is failing ? Any help would be much appreciated, Thanks.

dejanstojanovic commented 7 years ago

Hi @forfucksayk I noticed that a lot of people are having issues with Facebook API authentication. I will try setup a test account with full walk-through how to setup account and pages/albums in order to work with this plugin

forfucksayk commented 7 years ago

thanks @dejanstojanovic that would be great. let me know.

24eri commented 7 years ago

Guys i think that the problem here stays right on the access tokens by facebook, im not sure how much time, but after a while (2-3 months) faceboook acces token expires. In order to solve that you have to regenerate the accessToken and replace with the old one.

It would be better if someone make a js or php code to autogenerate the access Token from facebook and replace that with the old one.

I did this manually and it works.

I am refering on: https://graph.facebook.com/oauth/access_token?client_id={app-id}&client_secret={app-secret}&grant_type=client_credentials

forfucksayk commented 7 years ago

I am getting "Uncaught TypeError: $(...).FacebookAlbumBrowser is not a function" even though I have added references to the plugin, stylesheet and jQuery..