-
Apr 30th, 2012, 02:01 AM
#1
facebook error message changed
hellow.
I'm hanburn. ( I am navis in English )
I used spring-socail and spring-socail-facebook.
FB response error message "Error invalidating access token".
but "spring-socail-facebook 1.0.1" code is..
[FacebookErrorHandler.class]
if (message.contains("Unknown path components")) {
throw new ResourceNotFoundException(message);
} else if (message.equals("An access token is required to request this resource.")) {
throw new MissingAuthorizationException();
} else if (message.equals("An active access token must be used to query information about the current user.")) {
throw new MissingAuthorizationException();
} else if (message.startsWith("Error validating access token")) {
handleInvalidAccessToken(message);
} else if (message.equals("Error validating application.")) { // Access token with incorrect app ID
throw new InvalidAuthorizationException(message);
so, ExpiredAuthorizationException, RevokedAuthorizationException is not throw.
and NotAuthorizedException is throw.
please check it.
thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules