Open graph error validating access token
FYI: expires or expires_in is NOT returned on some edge cases.
The detail and reproductive scenario should be found at https://developers.facebook.com/bugs/597779113651383/. Usually long lived tokens live about 60 days while short lived ones live about 2 hours.
) the latest stable version of the Facebook PHP SDK is v4.0.
Once v4.1 is released (probably within a month or so), it will have a very different implementation.
The document says "The Batch API is flexible and allows individual requests to specify their own access tokens as a query string or form post parameter.
Other requesting methods merely wrap request() method for convinience. Accessor method that returns whether to send appsecret_proof parameter on API call.Returns URI object with specified path and query parameter. Returns URI object with specified path and query parameter.It is mainly used to generate URL for Auth dialog, but you can still use this when redirecting users to your Facebook page, App's Canvas page or any location on You can redirect your user to this URL for authorization purpose.It sends POST request with method=delete query parameter when DELETE request fails. Generates and returns the name of cookie that is set by JS SDK on client side login.I know it's weird, but sometimes DELETE fails and POST with method=delete works. This value can be parsed as signed request and the parsed data structure contains 'code' to exchange for acess token. Creates and returns Facebook:: Open Graph:: Response.