com.liferay.portal.kernel.facebook
Class FacebookConnectUtil
java.lang.Object
com.liferay.portal.kernel.facebook.FacebookConnectUtil
public class FacebookConnectUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookConnectUtil
public FacebookConnectUtil()
getAccessToken
public static String getAccessToken(long companyId,
String redirect,
String code)
throws SystemException
- Throws:
SystemException
getAccessTokenURL
public static String getAccessTokenURL(long companyId)
throws SystemException
- Throws:
SystemException
getAppId
public static String getAppId(long companyId)
throws SystemException
- Throws:
SystemException
getAppSecret
public static String getAppSecret(long companyId)
throws SystemException
- Throws:
SystemException
getAuthURL
public static String getAuthURL(long companyId)
throws SystemException
- Throws:
SystemException
getFacebookConnect
public static FacebookConnect getFacebookConnect()
getGraphResources
public static JSONObject getGraphResources(long companyId,
String path,
String accessToken,
String fields)
getGraphURL
public static String getGraphURL(long companyId)
throws SystemException
- Throws:
SystemException
getProfileImageURL
public static String getProfileImageURL(PortletRequest portletRequest)
getRedirectURL
public static String getRedirectURL(long companyId)
throws SystemException
- Throws:
SystemException
isEnabled
public static boolean isEnabled(long companyId)
throws SystemException
- Throws:
SystemException
isVerifiedAccountRequired
public static boolean isVerifiedAccountRequired(long companyId)
throws SystemException
- Throws:
SystemException
setFacebookConnect
public void setFacebookConnect(FacebookConnect facebookConnect)