Access Facebook Session using PHP
问题 I am struggling to keep the Facebook session alive using PHP on my website. I use both the JavaScript SDK and the PHP SDK to form the basis of my app. The problem I am having is that when the "Facebook session" ends, my PHP script believes that you are logged out of Facebook. But, as soon as I call the FB.init() using the JavaScript SDK, the session comes back to life. Is there anyway to achieve the same using the PHP SDK? Or can I set a custom expiry time on the Facebook session? Extracted