facebook graph api - How to get the app account access token needed to administrate app album? -
i have facebook app, associated photo album. users of app may upload images album, , have trouble figuring out how authentication work in real life application.
while testing, i've used graph api list of accounts, , copied access token app account code. works, access token expire in few hours , have new 1 , copy code.
i tried automate process, going through user's account in code, , getting access token in realtime. how ever, worked me obviously, since other users couldn't access accounts through graph api.
how supposed work in real life application? access token 1 i've managed upload images with.
that must because other users not app developer there not needed access_token them,
app pages removed (but seems photos available yet) if want recommend open facebook page app page mange permission facebook account app page access_token & save (please note set app 60 days long access_token) let users upload images via page token (this make users available upload images page there no way upload image directly user account page via api yet )
Comments
Post a Comment