Class FacebookAccessTokenErrorResponse

  • All Implemented Interfaces:
    Serializable

    public class FacebookAccessTokenErrorResponse
    extends OAuthException
    non standard Facebook replace for OAuth2AccessTokenErrorResponse examples:
    '{"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100,"fbtrace_id":"DtxvtGRaxbB"}}'
    '{"error":{"message":"Error validating application. Invalid application ID.","type":"OAuthException","code":101,"fbtrace_id":"CvDR+X4WWIx"}}'
    See Also:
    Serialized Form
    • Constructor Detail

      • FacebookAccessTokenErrorResponse

        public FacebookAccessTokenErrorResponse​(String message,
                                                String type,
                                                int code,
                                                String fbtraceId,
                                                String rawResponse)
    • Method Detail

      • getType

        public String getType()
      • getCodeInt

        public int getCodeInt()
      • getFbtraceId

        public String getFbtraceId()
      • getRawResponse

        public String getRawResponse()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object