Announcement Announcement Module
Collapse
No announcement yet.
facebook error message changed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X