I'm an admin for a Facebook page I want to handle a server side job scheduler which post every specific time into that Page using Facebook Graph API.
I'm using this code to do that job: $facebook->api("/$page_id/feed","post",$args);
and it is working fine for me.
But I have a problem related to Page Access Token. I need to have a permanent Page Access Token to work forever not to update the access token every specific time because it will be server side job scheduler, no GUI for it.
Any suggestion about how to get Permanent Page Access token?
Note: I followed the steps in Facebook documentation but I have 3 wanderings about it :
- Shall I have Facebook app to get Long-Lived Page Authentication ??
- I don't have that option on my Facebook app advanced setting "deprecate offline_access" ??
- Is the 60 days is the max valid duration which I can give it to Page Access Token .. can't it become permanent for ever ??