|
||||||||||
| 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 |
|
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. |
|
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 |
|---|
String getId()
throws FacebookException,
IllegalStateException
FacebookException - when '/me' threw an exception.
IllegalStateException - if no credentials are supplied. i.e.) this is an anonymous Facebook instance
String getName()
throws FacebookException,
IllegalStateException
FacebookException - when '/me' threw an exception.
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 | |||||||||