public interface FacebookBase
| Modifier and Type | Method and Description |
|---|---|
<T> ResponseList<T> |
fetchNext(Paging<T> paging)
Fetches the data of the next page.
|
<T> ResponseList<T> |
fetchPrevious(Paging<T> paging)
Fetches the data of the previous page.
|
Authorization |
getAuthorization()
Returns the authorization scheme for this instance.
The returned type will be either of BasicAuthorization, OAuthAuthorization, or NullAuthorization |
Configuration |
getConfiguration()
Returns the configuration associated with this instance
|
java.lang.String |
getId()
Returns the ID of authenticating user/page.
This method may internally call '/me' on the first invocation if - this instance is authenticated by OAuth. |
java.lang.String |
getName()
Returns authenticating user's/page's name.
This method may internally call '/me' on the first invocation if - this instance is authenticated by OAuth. |
void |
shutdown()
Shuts down this instance and releases allocated resources.
|
java.lang.String getId()
throws FacebookException,
java.lang.IllegalStateException
FacebookException - when '/me' threw an exception.java.lang.IllegalStateException - if no credentials are supplied. i.e.) this is an anonymous Facebook instancejava.lang.String getName()
throws FacebookException,
java.lang.IllegalStateException
FacebookException - when '/me' threw an exception.java.lang.IllegalStateException - if no credentials are supplied. i.e.) this is an anonymous Facebook instanceAuthorization getAuthorization()
Configuration getConfiguration()
<T> ResponseList<T> fetchNext(Paging<T> paging) throws FacebookException
paging - paging information of Graph API resultFacebookException - when Facebook service or network is unavailable<T> ResponseList<T> fetchPrevious(Paging<T> paging) throws FacebookException
paging - paging information of Graph API resultFacebookException - when Facebook service or network is unavailablevoid shutdown()