Package org.scribe.builder.api
Class FacebookApi
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi20
-
- org.scribe.builder.api.FacebookApi
-
- All Implemented Interfaces:
Api
public class FacebookApi extends DefaultApi20
-
-
Constructor Summary
Constructors Constructor Description FacebookApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.java.lang.String
getAuthorizationUrl(OAuthConfig config)
Returns the URL where you should redirect your users to authenticate your application.-
Methods inherited from class org.scribe.builder.api.DefaultApi20
createService, getAccessTokenExtractor, getAccessTokenVerb
-
-
-
-
Method Detail
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()
Description copied from class:DefaultApi20
Returns the URL that receives the access token requests.- Specified by:
getAccessTokenEndpoint
in classDefaultApi20
- Returns:
- access token URL
-
getAuthorizationUrl
public java.lang.String getAuthorizationUrl(OAuthConfig config)
Description copied from class:DefaultApi20
Returns the URL where you should redirect your users to authenticate your application.- Specified by:
getAuthorizationUrl
in classDefaultApi20
- Parameters:
config
- OAuth 2.0 configuration param object- Returns:
- the URL where you should redirect your users
-
-