Class FacebookProcessor

java.lang.Object
io.meeds.oauth.social.FacebookProcessor

public class FacebookProcessor extends Object
Processor to perform Facebook interaction
Since:
Sep 22, 2011
Author:
Anil Saldhana
  • Field Details

    • trace

      protected boolean trace
    • clientID

      protected String clientID
    • clientSecret

      protected String clientSecret
    • scope

      protected String scope
    • returnURL

      protected String returnURL
  • Constructor Details

  • Method Details

    • initialInteraction

      public boolean initialInteraction(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String verificationState) throws IOException
      Throws:
      IOException
    • getAccessToken

      public String getAccessToken(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws OAuthException
      Throws:
      OAuthException
    • sendAccessTokenRequest

      protected URL sendAccessTokenRequest(String authorizationCode) throws IOException
      Throws:
      IOException
    • getScopes

      public Set<String> getScopes(String accessToken)
    • getPrincipal

      public FacebookPrincipal getPrincipal(String accessToken)
    • getUserAvatarURL

      public String getUserAvatarURL(String accessToken)
    • revokeToken

      public void revokeToken(String accessToken)