@ProviderType
public class FacebookConnectUtil
extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getAccessToken(long companyId,
String redirect,
String code) |
static String |
getAccessTokenURL(long companyId) |
static String |
getAppId(long companyId) |
static String |
getAppSecret(long companyId) |
static String |
getAuthURL(long companyId) |
static com.liferay.portal.kernel.facebook.FacebookConnect |
getFacebookConnect() |
static com.liferay.portal.kernel.json.JSONObject |
getGraphResources(long companyId,
String path,
String accessToken,
String fields) |
static String |
getGraphURL(long companyId) |
static String |
getProfileImageURL(PortletRequest portletRequest) |
static String |
getRedirectURL(long companyId) |
static boolean |
isEnabled(long companyId) |
static boolean |
isVerifiedAccountRequired(long companyId) |
public static String getAccessToken(long companyId, String redirect, String code)
public static String getAccessTokenURL(long companyId)
public static String getAppId(long companyId)
public static String getAppSecret(long companyId)
public static String getAuthURL(long companyId)
public static com.liferay.portal.kernel.facebook.FacebookConnect getFacebookConnect()
public static com.liferay.portal.kernel.json.JSONObject getGraphResources(long companyId, String path, String accessToken, String fields)
public static String getGraphURL(long companyId)
public static String getProfileImageURL(PortletRequest portletRequest)
public static String getRedirectURL(long companyId)
public static boolean isEnabled(long companyId)
public static boolean isVerifiedAccountRequired(long companyId)