Page 1 of 1

Malformed Access Token

Posted: Fri Feb 14, 2014 4:10 am
by Shannon Borntrager

I have been able to get up to point 12 in the Facebook Login in tutorial but when I click on the Get Data button I get the following error showing in Chrome Developer Tools:

{
"error": {
"message": "Malformed access token CAADAaquo0OMBAEcbgxse9x3a8eT1szxS8TBLiDCqiEQyZBGLJE0CokXu797m2hM5v6JYkEDDz6i2n7GbfeF5vKV1gKQbaNWpFE2ET0KXIPjeEzAPodzvSA4ZBEpYKDDksCIbfOGlYMzIOM05Rt39ISYN8WLY2s10C0JIPYbGFCdmIKwvmk&expires",
"type": "OAuthException",
"code": 190
}
}

The connect address is http://appery.io/app/view/f4d9dd52-34...


Malformed Access Token

Posted: Fri Feb 14, 2014 4:45 am
by Illya Stepanov

Hi -

We'll check it and update you.


Malformed Access Token

Posted: Fri Feb 14, 2014 11:39 am
by Maryna Brodina

Hello! After prevar access_token = vars[0].split("=")[1];/preAdd this codepreaccess_token = access_token.replace(/&.+/, "");/pre


Malformed Access Token

Posted: Fri Feb 14, 2014 2:02 pm
by Shannon Borntrager

I was able to get the correct response after putting this code in, moving to the next steps. Thank you so much.