![JAR search and dependency download from the Maven repository](/logo.png)
io.sprucehill.facebook.service.IFacebookGraphUserService Maven / Gradle / Ivy
The newest version!
package io.sprucehill.facebook.service;
import io.sprucehill.facebook.data.AccessToken;
import io.sprucehill.facebook.data.AppRequest;
import io.sprucehill.facebook.data.User;
import io.sprucehill.facebook.exceptions.GenericFacebookGraphAPIException;
import java.util.List;
/**
* @author Michael Duergner
*/
public interface IFacebookGraphUserService {
User me() throws GenericFacebookGraphAPIException;
User me(String userAccessToken) throws GenericFacebookGraphAPIException;
User read(String userId) throws GenericFacebookGraphAPIException;
User read(String userId, String userAccessToken) throws GenericFacebookGraphAPIException;
List friends(String userAccessToken) throws GenericFacebookGraphAPIException;
List friends(String userId, String userAccessToken) throws GenericFacebookGraphAPIException;
List readAppRequests(String userId, String userAccessToken) throws GenericFacebookGraphAPIException;
boolean deleteAppRequest(String requestId, String userId, String accessToken) throws GenericFacebookGraphAPIException;
AccessToken exchangeAccessToken(String userAccessToken) throws GenericFacebookGraphAPIException;
AccessToken exchangeAccessToken(String userAccessToken, String appId, String applicationSecret) throws GenericFacebookGraphAPIException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy