I've been developing a python program with the fbconsole that grabs a lot of data from facebook over time and i would like to not have to refresh this access key every two hours. Obviously I have googled a lot and searched stackoverflow but im still really confused. Is there like a 60 day access token? I have seen some people talk about getting an app id and secret but this is not an app on facebook. Anyways, I would appreciate it if someone could break it up for me and clear the confusion.
For a long lived access token you have two options:
Use the Client-Side authentication process, get a short lived token and then exchange it with using the new endpoint which was introduced to "replace" the "offline_access" permission which was deprecated.
Use the Server-Side authentication process which will result in a long lived access token (60 days).