public class FacebookConnectionFactory extends org.springframework.social.connect.support.OAuth2ConnectionFactory<Facebook>
Constructor and Description |
---|
FacebookConnectionFactory(String appId,
String appSecret)
Creates a FacebookConnectionFactory for the given application ID and secret.
|
FacebookConnectionFactory(String appId,
String appSecret,
String appNamespace)
Creates a FacebookConnectionFactory for the given application ID, secret, and namespace.
|
createConnection, createConnection, extractProviderUserId, generateState, getOAuthOperations, getScope, setScope, supportsStateParameter
public FacebookConnectionFactory(String appId, String appSecret)
appId
- The application's App ID as assigned by FacebookappSecret
- The application's App Secret as assigned by Facebookpublic FacebookConnectionFactory(String appId, String appSecret, String appNamespace)
appId
- The application's App ID as assigned by FacebookappSecret
- The application's App Secret as assigned by FacebookappNamespace
- The application's App Namespace as configured with Facebook. Enables use of Open Graph operations.