com.liferay.portal.kernel.facebook
Interface FacebookConnect


public interface FacebookConnect

Author:
Wilson Man, Brian Wing Shun Chan, Mika Koivisto

Method Summary
 java.lang.String getAccessToken(long companyId, java.lang.String redirect, java.lang.String code)
           
 java.lang.String getAccessTokenURL(long companyId)
           
 java.lang.String getAppId(long companyId)
           
 java.lang.String getAppSecret(long companyId)
           
 java.lang.String getAuthURL(long companyId)
           
 JSONObject getGraphResources(long companyId, java.lang.String path, java.lang.String accessToken, java.lang.String fields)
           
 java.lang.String getGraphURL(long companyId)
           
 java.lang.String getProfileImageURL(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getRedirectURL(long companyId)
           
 boolean isEnabled(long companyId)
           
 boolean isVerifiedAccountRequired(long companyId)
           
 

Method Detail

getAccessToken

java.lang.String getAccessToken(long companyId,
                                java.lang.String redirect,
                                java.lang.String code)
                                throws SystemException
Throws:
SystemException

getAccessTokenURL

java.lang.String getAccessTokenURL(long companyId)
                                   throws SystemException
Throws:
SystemException

getAppId

java.lang.String getAppId(long companyId)
                          throws SystemException
Throws:
SystemException

getAppSecret

java.lang.String getAppSecret(long companyId)
                              throws SystemException
Throws:
SystemException

getAuthURL

java.lang.String getAuthURL(long companyId)
                            throws SystemException
Throws:
SystemException

getGraphResources

JSONObject getGraphResources(long companyId,
                             java.lang.String path,
                             java.lang.String accessToken,
                             java.lang.String fields)

getGraphURL

java.lang.String getGraphURL(long companyId)
                             throws SystemException
Throws:
SystemException

getProfileImageURL

java.lang.String getProfileImageURL(javax.portlet.PortletRequest portletRequest)

getRedirectURL

java.lang.String getRedirectURL(long companyId)
                                throws SystemException
Throws:
SystemException

isEnabled

boolean isEnabled(long companyId)
                  throws SystemException
Throws:
SystemException

isVerifiedAccountRequired

boolean isVerifiedAccountRequired(long companyId)
                                  throws SystemException
Throws:
SystemException