How can I prevent my Facebook session key from expiring?

I am developing a Facebook application in Zend Framework. I am using the Facebook session key for my PHP session id (this is the Facebook recommended practice). The problem is that after an hour or so, it looks like the Facebook session key is about to expire because I am losing my PHP session. Is there a way to prevent (or at least significantly delay) Facebook session key expiration? Thank!

+2


source to share


1 answer


Either your main problem is php invalids your php session (which can easily be fixed within the framework)

or

Your problem is that facebook no longer accepts your api requests on behalf of the user, becoming a timeout



one hour sounds much longer for facebook api calls if there is no between canvases between

see wiki and search for offline_access

+2


source







All Articles