Forum QuickConnect Malformed access token

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Malformed access token

Postby playzio » May 8th, 2013, 4:07 pm

Hi,

FB.api('/me/friends?fields=gender&access_token=' + _usrAccessToken,
function(resp) {
trace(FB.toString(resp));
});

_usrAccessToken is the access token received from QuickConnect callback

output : {error={message="Malformed access token [ACCESS TOKEN], type="OAuthException", code=190}}

Am I missing something here?

Thanks
playzio
Paid Member
 
Posts: 20
Joined: January 29th, 2013, 12:19 pm

Re: Malformed access token

Postby playzio » May 9th, 2013, 8:42 am

There is no need for specifying access token.

The correct api call would be :

FB.api('/me/friends?fields=gender&'
function(resp) {
trace(FB.toString(resp));
});
playzio
Paid Member
 
Posts: 20
Joined: January 29th, 2013, 12:19 pm


Return to QuickConnect