I am using PHP SDK and a user is trying to get the token end date. According to Facebook Docs
received / debug_token? Input_token = {input-token} & amp; Access_token = {access-token} Back
{"data": {"app_id": 138483919580948, "app": "social cafe" "Skype": ["email", "published_reasons"], "e-spray": "IP-Safari": "eFire_Iight": 1352419328, "ISYYD": True, "Issued": 1347235328, "Metadata" However, when I $ access_token_debug = $ facebook-> Run the API ('/ debug_token', 'GET'), then array ('input_token' = & gt; 'USER_TOKEN', 'access_token' = & gt; 'APP_TOKEN'));
I return it:
array ([data] => array ([app_id] => 3.31449226977465E + 14 [ Is_valid] = & gt; 1)) I really have an interest in the expires_at parameter, should I do something else? Probably a setting which I forgot to enable?
It may be that you already have permission for available input token of management_pages if long If the stay is exchanged for the management then its expiration date is not there.
No comments:
Post a Comment