com.liferay.portal.facebook
Class FacebookConnectImpl
java.lang.Object
com.liferay.portal.facebook.FacebookConnectImpl
- All Implemented Interfaces:
- FacebookConnect
public class FacebookConnectImpl
- extends Object
- implements FacebookConnect
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookConnectImpl
public FacebookConnectImpl()
getAccessToken
public String getAccessToken(long companyId,
String redirect,
String code)
throws SystemException
- Specified by:
getAccessToken
in interface FacebookConnect
- Throws:
SystemException
getAccessTokenURL
public String getAccessTokenURL(long companyId)
throws SystemException
- Specified by:
getAccessTokenURL
in interface FacebookConnect
- Throws:
SystemException
getAppId
public String getAppId(long companyId)
throws SystemException
- Specified by:
getAppId
in interface FacebookConnect
- Throws:
SystemException
getAppSecret
public String getAppSecret(long companyId)
throws SystemException
- Specified by:
getAppSecret
in interface FacebookConnect
- Throws:
SystemException
getAuthURL
public String getAuthURL(long companyId)
throws SystemException
- Specified by:
getAuthURL
in interface FacebookConnect
- Throws:
SystemException
getGraphResources
public JSONObject getGraphResources(long companyId,
String path,
String accessToken,
String fields)
- Specified by:
getGraphResources
in interface FacebookConnect
getGraphURL
public String getGraphURL(long companyId)
throws SystemException
- Specified by:
getGraphURL
in interface FacebookConnect
- Throws:
SystemException
getProfileImageURL
public String getProfileImageURL(PortletRequest portletRequest)
- Specified by:
getProfileImageURL
in interface FacebookConnect
getRedirectURL
public String getRedirectURL(long companyId)
throws SystemException
- Specified by:
getRedirectURL
in interface FacebookConnect
- Throws:
SystemException
isEnabled
public boolean isEnabled(long companyId)
throws SystemException
- Specified by:
isEnabled
in interface FacebookConnect
- Throws:
SystemException
isVerifiedAccountRequired
public boolean isVerifiedAccountRequired(long companyId)
throws SystemException
- Specified by:
isVerifiedAccountRequired
in interface FacebookConnect
- Throws:
SystemException