Wednesday, August 8, 2012

Uncaught Exception: 190: Invalid OAuth access token signature


Error

Uncaught Exception: 190: Invalid OAuth access token signature.


Solution

It was a dump mistake from my side, i generated access token from facebook api 
https://graph.facebook.com/oauth/access_token?

and it seems it returns "access_token=XXXX"

I didn't know that and then i added the returned token as a parameter value in the next API call 


$apiURL = "https://graph.facebook.com/YYYY/posts?access_token=$accessToken;

the the URL ended as 
https://graph.facebook.com/YYYY/posts?access_token=access_token=XXXX

That was the problem for me  
 


2 comments:

  1. thank you! in this universe, where everything seems to be hidden, your simple post helped a lot.

    ReplyDelete
  2. thank you.. it help me too.

    ReplyDelete