Apologies if this was asked before, I had a look but couldn't quite find any posts that answer my question (at least in a way I understood).
This question is about the Facebook API and authentication.
I have created a script using JQuery which loads a public stream or wall or whatever its called using the Graph API. It connects using an access key which I created by registering an App and authenticating it so that it had permission for offline access and to read a stream only and NOT publish it or access anything else really.
I did this using the following authentication address:
http://www.facebook.com/dialog/oauth/?
client_id=YOUR_APP_ID
&redirect_uri=YOUR_REDIRECT_URL
&scope=read_stream,offline_access
Where the App ID is the one I got when registering an APP and the redirect URL is app domain / "website with Facebook login" site url. (I don't plan on using the facebook login for the site)
So, while I have obtained an access token using the above information which is due to expire in 60 days, my question is, Is there some server side script I can use to either renew the access token (from what I've read there isn't?) or obtain a new one.
As it stands, everything works but I don't want to upload this website and then have to renew an access token every 60 days so it functions properly.