Class FacebookConnector
- java.lang.Object
-
- org.silverpeas.core.socialnetwork.connectors.AbstractSocialNetworkConnector
-
- org.silverpeas.core.socialnetwork.connectors.FacebookConnector
-
- All Implemented Interfaces:
SocialNetworkConnector
@Facebook @Service @Singleton public class FacebookConnector extends AbstractSocialNetworkConnector
-
-
Constructor Summary
Constructors Constructor Description FacebookConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.social.facebook.connect.FacebookConnectionFactory
getConnectionFactory()
String
getUserProfileId(AccessToken authorizationToken)
void
setJavascriptAttributes(javax.servlet.http.HttpServletRequest request)
void
updateStatus(AccessToken authorizationToken, String status)
-
Methods inherited from class org.silverpeas.core.socialnetwork.connectors.AbstractSocialNetworkConnector
buildAuthenticateUrl, exchangeForAccessToken, getSettings, getUserProfile
-
-
-
-
Method Detail
-
getUserProfileId
public String getUserProfileId(AccessToken authorizationToken)
- Specified by:
getUserProfileId
in interfaceSocialNetworkConnector
- Specified by:
getUserProfileId
in classAbstractSocialNetworkConnector
-
updateStatus
public void updateStatus(AccessToken authorizationToken, String status)
-
setJavascriptAttributes
public void setJavascriptAttributes(javax.servlet.http.HttpServletRequest request)
-
getConnectionFactory
protected org.springframework.social.facebook.connect.FacebookConnectionFactory getConnectionFactory()
- Specified by:
getConnectionFactory
in classAbstractSocialNetworkConnector
-
-