karma-exchange-org/karma-exchange — pull request #113 by avaliani (2013-06-24 00:09:02+00:00)
Title: Return error type AUTHENTICATION for FacebookOAuthException.

AUTHENTICATION is returned instead of PARTNER_SERVICE_FAILURE for RestFB OAuth Exceptions.

````json
{ "error" :
{ "message" : "Received Facebook error response of type OAuthException: Error validating access token: Session has expired at unix time 1371898800. The current unix time is 1372031646.",
"stackTrace" : "com.restfb.exception.FacebookOAuthException:..",
"type" : "AUTHENTICATION"
}
}
````