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

user access token issue #44

Open system1111 opened 8 years ago

system1111 commented 8 years ago

Can this application use the "User Token" rather than "App Token" as I am trying to test to see if I can get this application to work with a personal photo album.

I am getting the User Token via the : https://developers.facebook.com/tools/explorer/

perrada69 commented 8 years ago

I have this problem too :)

I getting token via this: https://graph.facebook.com/oauth/access_token?client_id={app-id}&client_secret={app-secret}&grant_type=client_credentials

But I have problem with facebook app - he stil not available... :(

dejanstojanovic commented 8 years ago

I used to do this about a year ago and I remember that you need to request special permissions from facebook to make your app access personal photo album. Check some of the existing closed issue for the explanation I think it should be there somewhere

ateufel commented 6 years ago

you should not use ANY hardcoded token with that plugin. tokens need to be kept secret (they are like your house key). even the basic app token should not be hardcoded in client code, because it includes the "app secret" - it is called secret for a reason. you should do that stuff server side instead, if you need to hardcode a token.