|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FacebookBase
| Method Summary | ||
|---|---|---|
|
fetchNext(Paging<T> paging)
Fetches the data of the next page. |
|
|
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. |
|
| Method Detail |
|---|
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 instance
java.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 result
FacebookException - when Facebook service or network is unavailable
<T> ResponseList<T> fetchPrevious(Paging<T> paging)
throws FacebookException
paging - paging information of Graph API result
FacebookException - when Facebook service or network is unavailablevoid shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||