SimpleAuth icon indicating copy to clipboard operation
SimpleAuth copied to clipboard

How to handle Facebook InvalidToken?

Open MaximKeegan opened this issue 10 years ago • 1 comments

I'm receiving

"Www-Authenticate" = "OAuth \"Facebook Platform\" \"invalid_token\" \"Error validating access token: The session has been invalidated because the user has changed the password.\"";

How to refresh token with SimpleAuth?

MaximKeegan avatar May 24 '15 13:05 MaximKeegan

I'm experiencing a similar problem because the token needs a refresh:

{"error":{"message":"Error validating access token: Session has expired on Saturday, 13-Dec-14 01:08:29 PST. The current time is Tuesday, 26-May-15 06:37:19 PDT.","type":"OAuthException","code":190,"error_subcode":463}}

Normally using the Facebook SDK I'd approach it as here: https://stackoverflow.com/questions/23157972/social-api-facebook-ios-error-validating-access-token-session-has-expired-on

How would this be handled using SimpleAuth?

LordParsley avatar May 26 '15 13:05 LordParsley