Package com.restfb
Contains types used to interact with the Facebook
Graph API.
For full documentation and sample code, please see the RestFB documentation.
-
Interface Summary Interface Description ConnectionIterator<T> DefaultFacebookClient.Requestor FacebookClient Specifies how a Facebook Graph API client must operate.FacebookEndpoints Interface for accessing the Facebook Endpoints.JsonMapper Specifies how a Facebook JSON-to-Java (and vice-versa) mapper must operate.WebRequestor Specifies how a class that sendsHTTP
requests to the Facebook API endpoint must operate. -
Class Summary Class Description AccessToken Represents an access token/expiration date pair.BinaryAttachment Represents a binary file that can be uploaded to Facebook.Body The POST body class.Connection<T> Represents a Graph API Connection type.Connection.Itr<T> Iterator over connection pages.DebugHeaderInfo DebugHeaderInfo.BusinessUseCaseUsage business use case based usage object.DebugHeaderInfo.DebugHeaderInfoFactory DebugHeaderInfo.HeaderUsage DebugHeaderInfo.InnerBusinessUseCaseUsage DefaultFacebookClient Default implementation of a Facebook Graph API client.DefaultInstagramClient Deprecated. on December 2024 see blog post: https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/DefaultInstagramLoginClient InstagramLoginClient is the default implementation of the Instagram API with Instagram Login.DefaultJsonMapper Default implementation of a JSON-to-Java mapper.DefaultThreadsClient A class representing a client for interacting with Facebook's Threads API.DefaultWebRequestor Default implementation of a service that sends HTTP requests to the Facebook API endpoint.ETagWebRequestor WebRequestor with ETag-support.ETagWebRequestor.ETagResponse Parameter Representation of a Facebook API request parameter.WebRequestor.Request encapsulates the HTTP Request configurationWebRequestor.Response Encapsulates an HTTP response body and status code. -
Enum Summary Enum Description DefaultWebRequestor.HttpMethod FacebookEndpoints.Endpoint Version -
Annotation Types Summary Annotation Type Description Facebook Specifies how a Facebook JSON response attribute maps to a Java field.JsonMapper.JsonMappingCompleted If you apply this annotation to a method of a type mapped byJsonMapper
, it will be called after the mapping operation has been completed.