Package | Description |
---|---|
com.restfb |
Contains types used to interact with the Facebook Graph API and the Legacy Facebook REST API.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultJsonMapper
Default implementation of a JSON-to-Java mapper.
|
Modifier and Type | Method and Description |
---|---|
static Parameter |
Parameter.with(String name,
Object value,
JsonMapper jsonMapper)
Factory method which provides an instance with the given
name and
value , using the provided jsonMapper to turn value
into a JSON string. |
Constructor and Description |
---|
DefaultFacebookClient(String accessToken,
WebRequestor webRequestor,
JsonMapper jsonMapper)
Creates a Facebook Graph API client with the given
accessToken ,
webRequestor , and jsonMapper . |
DefaultLegacyFacebookClient(String apiKey,
String secretKey,
WebRequestor webRequestor,
JsonMapper jsonMapper)
Deprecated.
You should use
DefaultLegacyFacebookClient.DefaultLegacyFacebookClient(String, WebRequestor, JsonMapper)
instead. Facebook is moving to OAuth and will stop supporting
the old authentication scheme soon. |
DefaultLegacyFacebookClient(String accessToken,
WebRequestor webRequestor,
JsonMapper jsonMapper)
Creates a Facebook API client with the given OAuth
access token.
|
Copyright © 2014. All rights reserved.