A B C D E F G H I J K L M N O P Q R S T U V W

A

Account - Class in com.restfb.types
Represents the Account Graph API type.
Account() - Constructor for class com.restfb.types.Account
 
accumulate(String, Object) - Method in class com.restfb.json.JsonObject
Accumulate values under a key.
Album - Class in com.restfb.types
Represents the Album Graph API type.
Album() - Constructor for class com.restfb.types.Album
 
append(String, Object) - Method in class com.restfb.json.JsonObject
Append values to the array under a key.
Application - Class in com.restfb.types
Represents the Application Graph API type.
Application() - Constructor for class com.restfb.types.Application
 
array() - Method in class com.restfb.json.JsonWriter
Begin appending a new array.

B

back() - Method in class com.restfb.json.JsonTokener
Back up one character.

C

CategorizedFacebookType - Class in com.restfb.types
Superclass for Graph API types that include a category field.
CategorizedFacebookType() - Constructor for class com.restfb.types.CategorizedFacebookType
 
Checkin - Class in com.restfb.types
Represents the Checkin Graph API type.
Checkin() - Constructor for class com.restfb.types.Checkin
 
Checkin.Place - Class in com.restfb.types
Represents the Place Graph API type.
Checkin.Place() - Constructor for class com.restfb.types.Checkin.Place
 
Checkin.Place.Location - Class in com.restfb.types
Represents the Location Graph API type.
Checkin.Place.Location() - Constructor for class com.restfb.types.Checkin.Place.Location
 
com.restfb - package com.restfb
Contains types used to interact with the Facebook Graph API and the Legacy Facebook REST API.
com.restfb.exception - package com.restfb.exception
Contains exceptions that RestFB may throw while attempting to communicate with the Facebook API endpoints.
com.restfb.json - package com.restfb.json
Repackaging of the json.org reference implementation.
com.restfb.types - package com.restfb.types
Default implementations of Facebook Graph API Objects.
com.restfb.util - package com.restfb.util
Contains utility classes which provide common String, Date, and Reflection operations.
Comment - Class in com.restfb.types
Represents the Comment Graph API type.
Comment() - Constructor for class com.restfb.types.Comment
 
Connection<T> - Class in com.restfb
Represents a Graph API Connection type.
convertSessionKeysToAccessTokens(String, String, String...) - Method in class com.restfb.DefaultFacebookClient
 
convertSessionKeysToAccessTokens(String, String, String...) - Method in interface com.restfb.FacebookClient
Converts an arbitrary number of sessionKeys to OAuth access tokens.

D

DateUtils - Class in com.restfb.util
A collection of date-handling utility methods.
DefaultFacebookClient - Class in com.restfb
Default implementation of a Facebook Graph API client.
DefaultFacebookClient() - Constructor for class com.restfb.DefaultFacebookClient
Creates a Facebook Graph API client with no access token.
DefaultFacebookClient(String) - Constructor for class com.restfb.DefaultFacebookClient
Creates a Facebook Graph API client with the given accessToken.
DefaultFacebookClient(String, WebRequestor, JsonMapper) - Constructor for class com.restfb.DefaultFacebookClient
Creates a Facebook Graph API client with the given accessToken, webRequestor, and jsonMapper.
DefaultJsonMapper - Class in com.restfb
Default implementation of a JSON-to-Java mapper.
DefaultJsonMapper() - Constructor for class com.restfb.DefaultJsonMapper
Creates a JSON mapper which will throw FacebookJsonMappingException whenever an error occurs when mapping JSON data to Java objects.
DefaultJsonMapper(DefaultJsonMapper.JsonMappingErrorHandler) - Constructor for class com.restfb.DefaultJsonMapper
Creates a JSON mapper which delegates to the provided jsonMappingErrorHandler for handling mapping errors.
DefaultJsonMapper.JsonMappingErrorHandler - Interface in com.restfb
Callback interface which allows client code to specify how JSON mapping errors should be handled.
DefaultLegacyFacebookClient - Class in com.restfb
Default implementation of a Legacy Facebook API client.
DefaultLegacyFacebookClient(String) - Constructor for class com.restfb.DefaultLegacyFacebookClient
Creates a Facebook API client with the given OAuth access token.
DefaultLegacyFacebookClient(String, String) - Constructor for class com.restfb.DefaultLegacyFacebookClient
Deprecated. You should use DefaultLegacyFacebookClient.DefaultLegacyFacebookClient(String) instead. Facebook is moving to OAuth and will stop supporting the old authentication scheme soon.
DefaultLegacyFacebookClient(String, String, WebRequestor, JsonMapper) - Constructor for class com.restfb.DefaultLegacyFacebookClient
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, WebRequestor, JsonMapper) - Constructor for class com.restfb.DefaultLegacyFacebookClient
Creates a Facebook API client with the given OAuth access token.
DefaultWebRequestor - Class in com.restfb
Default implementation of a service that sends HTTP requests to the Facebook API endpoint.
DefaultWebRequestor() - Constructor for class com.restfb.DefaultWebRequestor
 
dehexchar(char) - Static method in class com.restfb.json.JsonTokener
Get the hex value of a character (base16).
deleteObject(String) - Method in class com.restfb.DefaultFacebookClient
 
deleteObject(String) - Method in interface com.restfb.FacebookClient
Performs a Graph API delete operation on the given object.
doubleToString(double) - Static method in class com.restfb.json.JsonObject
Produce a string from a double.

E

ENCODING_CHARSET - Static variable in class com.restfb.util.StringUtils
Default charset to use for encoding/decoding strings.
endArray() - Method in class com.restfb.json.JsonWriter
End an array.
endObject() - Method in class com.restfb.json.JsonWriter
End an object.
equals(Object) - Method in class com.restfb.Connection
 
equals(Object) - Method in class com.restfb.FacebookClient.AccessToken
 
equals(Object) - Method in class com.restfb.Parameter
 
equals(Object) - Method in class com.restfb.types.Checkin.Place
 
equals(Object) - Method in class com.restfb.types.Checkin.Place.Location
 
equals(Object) - Method in class com.restfb.types.FacebookType
 
equals(Object) - Method in class com.restfb.types.FacebookType.Metadata.Connections
 
equals(Object) - Method in class com.restfb.types.FacebookType.Metadata
 
equals(Object) - Method in class com.restfb.types.Post.Action
 
equals(Object) - Method in class com.restfb.types.Post.Comments
 
equals(Object) - Method in class com.restfb.types.Post.Likes
 
equals(Object) - Method in class com.restfb.types.Post.Privacy
 
equals(Object) - Method in class com.restfb.types.User.Address
 
equals(Object) - Method in class com.restfb.types.User.Education
 
equals(Object) - Method in class com.restfb.types.User.Work
 
equals(Object) - Method in class com.restfb.types.Venue
 
equals(Object, Object) - Static method in class com.restfb.util.ReflectionUtils
Reflection-based implementation of Object.equals(Object).
Event - Class in com.restfb.types
Represents the Event Graph API type.
Event() - Constructor for class com.restfb.types.Event
 
exceptionForTypeAndMessage(String, String) - Method in interface com.restfb.exception.FacebookGraphExceptionMapper
Given a Graph API exception type and message, generates an instance of the corresponding FacebookGraphException or one of its subclasses.
execute(String, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
execute(String, String, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
execute(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
execute(String, String, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
execute(String, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Executes a Facebook API method with the given parameters, ignoring the response.
execute(String, String, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Deprecated. Use LegacyFacebookClient.execute(String, Parameter...) instead. Facebook is moving to OAuth and will stop supporting the old session key authentication scheme soon.
execute(String, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Executes a Facebook API method with the given parameters, mapping the API response to a single instance of type resultType.
execute(String, String, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Deprecated. Use LegacyFacebookClient.execute(String, Class, Parameter...) instead. Facebook is moving to OAuth and will stop supporting the old session key authentication scheme soon.
executeForList(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
executeForList(String, String, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
executeForList(String, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Executes a Facebook API method with the given parameters, mapping the API response to a List of instances of type resultType.
executeForList(String, String, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Deprecated. Use LegacyFacebookClient.executeForList(String, Class, Parameter...) instead. Facebook is moving to OAuth and will stop supporting the old session key authentication scheme soon.
executeGet(String) - Method in class com.restfb.DefaultWebRequestor
 
executeGet(String) - Method in interface com.restfb.WebRequestor
Given a Facebook API endpoint URL, execute a GET against it.
executeMultiquery(Map<String, String>, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
executeMultiquery(Map<String, String>, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
executeMultiquery(Map<String, String>, String, Class<T>, Parameter...) - Method in class com.restfb.DefaultLegacyFacebookClient
 
executeMultiquery(Map<String, String>, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Executes an FQL multiquery, which allows you to batch multiple queries into a single request.
executeMultiquery(Map<String, String>, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Executes the fql.multiquery API call, mapping the API response to a single instance of type resultType.
executeMultiquery(Map<String, String>, String, Class<T>, Parameter...) - Method in interface com.restfb.LegacyFacebookClient
Deprecated. Use LegacyFacebookClient.executeMultiquery(Map, Class, Parameter...) instead. Facebook is moving to OAuth and will stop supporting the old session key authentication scheme soon.
executePost(String, String) - Method in class com.restfb.DefaultWebRequestor
 
executePost(String, String, InputStream) - Method in class com.restfb.DefaultWebRequestor
 
executePost(String, String) - Method in interface com.restfb.WebRequestor
Given a Facebook API endpoint URL and parameter string, execute a POST to the endpoint URL.
executePost(String, String, InputStream) - Method in interface com.restfb.WebRequestor
Given a Facebook API endpoint URL and parameter string, execute a POST to the endpoint URL.
executeQuery(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
executeQuery(String, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Executes an FQL query, mapping the resultset to a List of instances of objectType.

F

Facebook - Annotation Type in com.restfb
Specifies how a Facebook JSON response attribute maps to a Java field.
FACEBOOK_LONG_DATE_FORMAT - Static variable in class com.restfb.util.DateUtils
Facebook "long" date format (ISO 8601).
FACEBOOK_LONG_DATE_FORMAT_WITHOUT_TIMEZONE - Static variable in class com.restfb.util.DateUtils
Facebook "long" date format (ISO 8601) without a timezone component.
FACEBOOK_MONTH_YEAR_DATE_FORMAT - Static variable in class com.restfb.util.DateUtils
Facebook month-year only date format.
FACEBOOK_SHORT_DATE_FORMAT - Static variable in class com.restfb.util.DateUtils
Facebook short date format.
FacebookClient - Interface in com.restfb
Specifies how a Facebook Graph API client must operate.
FacebookClient.AccessToken - Class in com.restfb
Represents an access token/expiration date pair.
FacebookClient.AccessToken() - Constructor for class com.restfb.FacebookClient.AccessToken
 
FacebookException - Exception in com.restfb.exception
Root of the RestFB exception hierarchy.
FacebookException(String) - Constructor for exception com.restfb.exception.FacebookException
Creates an exception with the given message.
FacebookException(String, Throwable) - Constructor for exception com.restfb.exception.FacebookException
Creates an exception with the given message and cause.
FacebookGraphException - Exception in com.restfb.exception
Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition.
FacebookGraphException(String, String) - Constructor for exception com.restfb.exception.FacebookGraphException
Creates an exception with the given error type and message.
FacebookGraphExceptionMapper - Interface in com.restfb.exception
Specifies a method for mapping Graph API exceptions' type and message fields to corresponding instances of FacebookGraphException (or one of its subclasses).
FacebookJsonMappingException - Exception in com.restfb.exception
Indicates that an error occurred while mapping JSON data to a Java object.
FacebookJsonMappingException(String) - Constructor for exception com.restfb.exception.FacebookJsonMappingException
Creates an exception with the given message.
FacebookJsonMappingException(String, Throwable) - Constructor for exception com.restfb.exception.FacebookJsonMappingException
Creates an exception with the given message and cause.
FacebookNetworkException - Exception in com.restfb.exception
Indicates that a network error occurred while trying to connect to the Facebook API endpoint.
FacebookNetworkException(String, Throwable) - Constructor for exception com.restfb.exception.FacebookNetworkException
Creates an exception with the given message and cause.
FacebookNetworkException(String, Integer) - Constructor for exception com.restfb.exception.FacebookNetworkException
Creates an exception with the given message and HTTP status code.
FacebookNetworkException(String, Throwable, Integer) - Constructor for exception com.restfb.exception.FacebookNetworkException
Creates an exception with the given message, cause, and HTTP status code.
FacebookOAuthException - Exception in com.restfb.exception
Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to the OAuth token included in the request.
FacebookOAuthException(String, String) - Constructor for exception com.restfb.exception.FacebookOAuthException
Creates an exception with the given error type and message.
FacebookQueryParseException - Exception in com.restfb.exception
Indicates that the Facebook Graph API endpoint returned JSON which indicates an error condition related to FQL query parsing.
FacebookQueryParseException(String, String) - Constructor for exception com.restfb.exception.FacebookQueryParseException
Creates an exception with the given error type and message.
FacebookResponseStatusException - Exception in com.restfb.exception
Indicates that the Legacy REST Facebook endpoint returned JSON which indicates an error condition.
FacebookResponseStatusException(Integer, String) - Constructor for exception com.restfb.exception.FacebookResponseStatusException
Creates an exception with the given message and error code.
FacebookType - Class in com.restfb.types
Base class which encapsulates behavior and properties common to most Graph API types.
FacebookType() - Constructor for class com.restfb.types.FacebookType
 
FacebookType.Metadata - Class in com.restfb.types
Represents Facebook Object metadata, available by including the metadata=1 URL parameter in an API request.
FacebookType.Metadata() - Constructor for class com.restfb.types.FacebookType.Metadata
 
FacebookType.Metadata.Connections - Class in com.restfb.types
Represents Facebook Object connections metadata, available by including the metadata=1 URL parameter in an API request.
FacebookType.Metadata.Connections() - Constructor for class com.restfb.types.FacebookType.Metadata.Connections
 
fetchConnection(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
fetchConnection(String, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Fetches a Graph API Connection type, mapping the result to an instance of connectionType.
fetchConnectionPage(String, Class<T>) - Method in class com.restfb.DefaultFacebookClient
 
fetchConnectionPage(String, Class<T>) - Method in interface com.restfb.FacebookClient
Fetches a previous/next page of a Graph API Connection type, mapping the result to an instance of connectionType.
fetchObject(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
fetchObject(String, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Fetches a single Graph API object, mapping the result to an instance of objectType.
fetchObjects(List<String>, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
fetchObjects(List<String>, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Fetches multiple Graph API objects in a single call, mapping the results to an instance of objectType.
findFieldsWithAnnotation(Class<?>, Class<T>) - Static method in class com.restfb.util.ReflectionUtils
Finds fields on the given type and all of its superclasses annotated with annotations of type annotationType.
fromInputStream(InputStream) - Static method in class com.restfb.util.StringUtils
Builds and returns a string representation of the given inputStream .

G

get(int) - Method in class com.restfb.json.JsonArray
Get the object value associated with an index.
get(String) - Method in class com.restfb.json.JsonObject
Get the value object associated with a key.
getAbout() - Method in class com.restfb.types.User
The user's blurb that appears under their profile picture.
getAccessors(Class<?>) - Static method in class com.restfb.util.ReflectionUtils
Gets all accessor methods for the given clazz.
getAccessToken() - Method in class com.restfb.FacebookClient.AccessToken
The access token's value.
getAccessToken() - Method in class com.restfb.types.Account
An OAuth access token for this account.
getActions() - Method in class com.restfb.types.Post
A list of available action names and links (including commenting, liking, and an optional app-specified action).
getActivities() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'activities' connection URL.
getAddress() - Method in class com.restfb.types.User
The user's mobile phone number.
getAlbums() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'albums' connection URL.
getAnnotation() - Method in class com.restfb.util.ReflectionUtils.FieldWithAnnotation
Gets the annotation on the field.
getApplication() - Method in class com.restfb.types.Checkin
The ID and name of the application that made the check-in.
getAttribution() - Method in class com.restfb.types.Post
A string indicating which application was used to create this post.
getBio() - Method in class com.restfb.types.User
The user's biographical snippet.
getBirthday() - Method in class com.restfb.types.User
The user's birthday as a String.
getBirthdayAsDate() - Method in class com.restfb.types.User
The user's birthday, typed to java.util.Date if possible.
getBody() - Method in class com.restfb.WebRequestor.Response
Gets the HTTP response body as text.
getBooks() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'books' connection URL.
getBoolean(int) - Method in class com.restfb.json.JsonArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class com.restfb.json.JsonObject
Get the boolean value associated with a key.
getCaption() - Method in class com.restfb.types.Post
The caption of the link (appears beneath the link name).
getCategory() - Method in class com.restfb.types.CategorizedFacebookType
The category field for this type.
getCategory() - Method in class com.restfb.types.Url
 
getCause() - Method in exception com.restfb.json.JsonException
 
getCity() - Method in class com.restfb.types.User.Address
This address's city.
getCity() - Method in class com.restfb.types.Venue
The venue's city.
getComments() - Method in class com.restfb.types.Checkin
The comments for the check-in.
getComments() - Method in class com.restfb.types.Post
The comments for this post.
getComments() - Method in class com.restfb.types.StatusMessage
All of the comments on this message.
getComments() - Method in class com.restfb.types.Video
Comments for the video.
getCompanyOverview() - Method in class com.restfb.types.Page
Overview of the page's company.
getConcentration() - Method in class com.restfb.types.User.Education
Concentrations/minors.
getConnections() - Method in class com.restfb.types.FacebookType.Metadata
The available connections for this object.
getCount() - Method in class com.restfb.types.Album
The number of photos in this album.
getCount() - Method in class com.restfb.types.Post.Comments
The number of comments.
getCount() - Method in class com.restfb.types.Post.Likes
The number of likes.
getCountry() - Method in class com.restfb.types.User.Address
This address's country.
getCountry() - Method in class com.restfb.types.Venue
The venue's country.
getCreatedTime() - Method in class com.restfb.types.Album
The time the photo album was initially created.
getCreatedTime() - Method in class com.restfb.types.Checkin
The time the check-in was created.
getCreatedTime() - Method in class com.restfb.types.Comment
Date on which the comment was created.
getCreatedTime() - Method in class com.restfb.types.Note
The time the note was initially published.
getCreatedTime() - Method in class com.restfb.types.Photo
The time the photo was initially published.
getCreatedTime() - Method in class com.restfb.types.Photo.Tag
Date this tag was created.
getCreatedTime() - Method in class com.restfb.types.Post
The time the post was initially published.
getCreatedTime() - Method in class com.restfb.types.Video
The time the video was initially published.
getData() - Method in class com.restfb.Connection
Data for this connection.
getData() - Method in class com.restfb.types.Post.Comments
The comments.
getData() - Method in class com.restfb.types.Post.Likes
The likes.
getDegree() - Method in class com.restfb.types.User.Education
Degree acquired.
getDeny() - Method in class com.restfb.types.Post.Privacy
The privacy "deny" restriction.
getDescription() - Method in class com.restfb.types.Album
The description of the album.
getDescription() - Method in class com.restfb.types.Application
The description of the application written by the 3rd party developers.
getDescription() - Method in class com.restfb.types.Event
The long-form HTML description of the event.
getDescription() - Method in class com.restfb.types.Group
The group description.
getDescription() - Method in class com.restfb.types.Link
The link description.
getDescription() - Method in class com.restfb.types.Post
A description of the link (appears beneath the link caption).
getDescription() - Method in class com.restfb.types.Post.Privacy
The privacy description.
getDescription() - Method in class com.restfb.types.Video
The long-form HTML description of the video.
getDouble(int) - Method in class com.restfb.json.JsonArray
Get the double value associated with an index.
getDouble(String) - Method in class com.restfb.json.JsonObject
Get the double value associated with a key.
getEducation() - Method in class com.restfb.types.User
A list of the education history from the user's profile
getEmail() - Method in class com.restfb.types.User
The proxied or contact email address granted by the user.
getEmbedHtml() - Method in class com.restfb.types.Video
HTML that may be used to embed the video on another website.
getEmployer() - Method in class com.restfb.types.User.Work
The employer for this job.
getEndDate() - Method in class com.restfb.types.User.Work
Date this job ended.
getEndTime() - Method in class com.restfb.types.Event
The end time of the event.
getErrorCode() - Method in exception com.restfb.exception.FacebookResponseStatusException
Gets the Facebook API error code.
getErrorMessage() - Method in exception com.restfb.exception.FacebookGraphException
Gets the Facebook Graph API error message.
getErrorMessage() - Method in exception com.restfb.exception.FacebookResponseStatusException
Gets the Facebook API error message.
getErrorType() - Method in exception com.restfb.exception.FacebookGraphException
Gets the Facebook Graph API error type.
getEvents() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'events' connection URL.
getExpires() - Method in class com.restfb.FacebookClient.AccessToken
The date on which the access token expires.
getFamily() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'family' connection URL.
getFanCount() - Method in class com.restfb.types.Page
The number of fans the page has.
getFanCount() - Method in class com.restfb.types.Url
 
getFeed() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'feed' connection URL.
getField() - Method in class com.restfb.util.ReflectionUtils.FieldWithAnnotation
Gets the field.
getFirstName() - Method in class com.restfb.types.User
The user's first name.
getFirstParameterizedTypeArgument(Field) - Static method in class com.restfb.util.ReflectionUtils
For a given field, get its first parameterized type argument.
getFounded() - Method in class com.restfb.types.Page
When the page was founded.
getFriends() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'friends' connection URL.
getFriends() - Method in class com.restfb.types.Post.Privacy
The privacy friends restriction.
getFrom() - Method in class com.restfb.types.Album
An object containing the ID and name of the profile who posted this album.
getFrom() - Method in class com.restfb.types.Checkin
The ID and name of the user who made the check-in.
getFrom() - Method in class com.restfb.types.Comment
User who posted the comment.
getFrom() - Method in class com.restfb.types.Link
An object containing the name and ID of the user who posted the link.
getFrom() - Method in class com.restfb.types.Note
The ID of the user who posted the note.
getFrom() - Method in class com.restfb.types.Photo
An object containing the name and ID of the user who posted the photo.
getFrom() - Method in class com.restfb.types.Post
An object containing the ID and name of the user who posted the message.
getFrom() - Method in class com.restfb.types.StatusMessage
The user who posted the message.
getFrom() - Method in class com.restfb.types.Video
An object containing the name and ID of the user who posted the video.
getGender() - Method in class com.restfb.types.User
The user's gender.
getGroups() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'groups' connection URL.
getHeight() - Method in class com.restfb.types.Photo
The height of the photo, in pixels.
getHome() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'home' connection URL.
getHometown() - Method in class com.restfb.types.User
The user's hometown.
getHometownName() - Method in class com.restfb.types.User
The user's hometown name.
getHttpStatusCode() - Method in exception com.restfb.exception.FacebookNetworkException
Gets the HTTP response status code.
getIcon() - Method in class com.restfb.types.Link
The link icon.
getIcon() - Method in class com.restfb.types.Note
The note icon.
getIcon() - Method in class com.restfb.types.Photo
The icon-sized source of the photo.
getIcon() - Method in class com.restfb.types.Post
A link to an icon representing the type of this post.
getIcon() - Method in class com.restfb.types.Video
An icon URL which represents the video.
getId() - Method in class com.restfb.types.FacebookType
This object's unique Facebook ID.
getInbox() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'inbox' connection URL.
getInt(int) - Method in class com.restfb.json.JsonArray
Get the int value associated with an index.
getInt(String) - Method in class com.restfb.json.JsonObject
Get the int value associated with a key.
getInterestedIn() - Method in class com.restfb.types.User
The user's interests.
getInterests() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'interests' connection URL.
getJsonArray(int) - Method in class com.restfb.json.JsonArray
Get the JsonArray associated with an index.
getJsonArray(String) - Method in class com.restfb.json.JsonObject
Get the JsonArray value associated with a key.
getJsonObject(int) - Method in class com.restfb.json.JsonArray
Get the JsonObject associated with an index.
getJsonObject(String) - Method in class com.restfb.json.JsonObject
Get the JsonObject value associated with a key.
getLastName() - Method in class com.restfb.types.User
The user's last name.
getLatitude() - Method in class com.restfb.types.Checkin.Place.Location
The latitude of the check-in.
getLatitude() - Method in class com.restfb.types.Venue
The venue's latitude.
getLength() - Method in class com.restfb.types.Video
The length of the video, in seconds.
getLikes() - Method in class com.restfb.types.Comment
The number of likes on this comment.
getLikes() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'likes' connection URL.
getLikes() - Method in class com.restfb.types.Post
The likes on this post.
getLikes() - Method in class com.restfb.types.StatusMessage
The users that have liked this message.
getLikesCount() - Method in class com.restfb.types.Post
The number of likes on this post.
getLink() - Method in class com.restfb.types.Album
A link to this album on Facebook.
getLink() - Method in class com.restfb.types.Application
A link to application dashboard on Facebook Connections feed
getLink() - Method in class com.restfb.types.Group
The URL for the group's website.
getLink() - Method in class com.restfb.types.Link
The actual URL that was shared.
getLink() - Method in class com.restfb.types.Page
The page's link.
getLink() - Method in class com.restfb.types.Photo
A link to the photo on Facebook.
getLink() - Method in class com.restfb.types.Post.Action
The link for the action.
getLink() - Method in class com.restfb.types.Post
The link attached to this post.
getLink() - Method in class com.restfb.types.Url
 
getLink() - Method in class com.restfb.types.User
A link to the user's profile.
getLinks() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'links' connection URL.
getLocale() - Method in class com.restfb.types.User
The user's locale.
getLocation() - Method in class com.restfb.types.Album
The location of the album.
getLocation() - Method in class com.restfb.types.Checkin.Place
The latitude/longitude of the check-in.
getLocation() - Method in class com.restfb.types.Event
The location for this event, a string name.
getLocation() - Method in class com.restfb.types.User
The user's current location.
getLocation() - Method in class com.restfb.types.User.Work
The location of this job.
getLong(int) - Method in class com.restfb.json.JsonArray
Get the long value associated with an index.
getLong(String) - Method in class com.restfb.json.JsonObject
Get the long value associated with a key.
getLongitude() - Method in class com.restfb.types.Checkin.Place.Location
The longitude of the check-in.
getLongitude() - Method in class com.restfb.types.Venue
The venue's longitude.
getMeetingFor() - Method in class com.restfb.types.User
What genders the user is interested in meeting.
getMessage() - Method in class com.restfb.types.Checkin
The message the user added to the check-in.
getMessage() - Method in class com.restfb.types.Comment
Text contents of the comment.
getMessage() - Method in class com.restfb.types.Link
The link message content.
getMessage() - Method in class com.restfb.types.Note
The note content, an HTML string.
getMessage() - Method in class com.restfb.types.Post
The message.
getMessage() - Method in class com.restfb.types.StatusMessage
The status message content.
getMessage() - Method in class com.restfb.types.Video
The video title / caption.
getMetadata() - Method in class com.restfb.types.FacebookType
This object's metadata, available by including the metadata=1 URL parameter in an API request.
getMiddleName() - Method in class com.restfb.types.User
The user's middle name.
getMission() - Method in class com.restfb.types.Page
The page's mission.
getMobilePhone() - Method in class com.restfb.types.User
The user's mobile phone number.
getMovies() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'movies' connection URL.
getMusic() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'music' connection URL.
getName() - Method in class com.restfb.types.NamedFacebookType
The name field for this type.
getName() - Method in class com.restfb.types.Post.Action
Gets the name of the action.
getNames(JsonObject) - Static method in class com.restfb.json.JsonObject
Get an array of field names from a JsonObject.
getNames(Object) - Static method in class com.restfb.json.JsonObject
Get an array of field names from an Object.
getNetworks() - Method in class com.restfb.types.Post.Privacy
The privacy networks restriction.
getNextPageUrl() - Method in class com.restfb.Connection
This connection's "next page of data" URL.
getNotes() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'notes' connection URL.
getOutbox() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'outbox' connection URL.
getOwner() - Method in class com.restfb.types.Event
An object containing the name and ID of the user who owns the event
getOwner() - Method in class com.restfb.types.Group
An object containing the name and ID of the user who owns the group.
getPhotos() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'photos' connection URL.
getPicture() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'picture' connection URL.
getPicture() - Method in class com.restfb.types.Link
The picture associated with the link.
getPicture() - Method in class com.restfb.types.Page
The page's picture.
getPicture() - Method in class com.restfb.types.Photo
The album-sized view of the photo.
getPicture() - Method in class com.restfb.types.Post
If available, a link to the picture included with this post.
getPicture() - Method in class com.restfb.types.Url
 
getPicture() - Method in class com.restfb.types.Video
A picture URL which represents the video.
getPlace() - Method in class com.restfb.types.Checkin
The ID, name, and location of the Facebook Page that represents the location of the check-in.
getPolitical() - Method in class com.restfb.types.User
The user's political affiliation.
getPosition() - Method in class com.restfb.types.User.Work
Position held at this job.
getPosts() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'posts' connection URL.
getPreviousPageUrl() - Method in class com.restfb.Connection
This connection's "previous page of data" URL.
getPrivacy() - Method in class com.restfb.types.Event
The visibility of this event.
getPrivacy() - Method in class com.restfb.types.Group
The privacy setting of the group, either 'OPEN', 'CLOSED', or 'SECRET'.
getPrivacy() - Method in class com.restfb.types.Post
The privacy settings for this post.
getProducts() - Method in class com.restfb.types.Page
The page's products.
getQuotes() - Method in class com.restfb.types.User
The user's favorite quotes.
getRelationshipStatus() - Method in class com.restfb.types.User
The user's relationship status.
getReligion() - Method in class com.restfb.types.User
The user's religion.
getSchool() - Method in class com.restfb.types.User.Education
The school name and ID.
getShares() - Method in class com.restfb.types.Url
 
getSignificantOther() - Method in class com.restfb.types.User
The user's significant other.
getSource() - Method in class com.restfb.types.Photo
The full-sized source of the photo.
getSource() - Method in class com.restfb.types.Post
If available, the source link attached to this post (for example, a flash or video file).
getStartDate() - Method in class com.restfb.types.User.Work
Date this job was started.
getStartTime() - Method in class com.restfb.types.Event
The start time of the event.
getState() - Method in class com.restfb.types.User.Address
This address's state.
getState() - Method in class com.restfb.types.Venue
The venue's state.
getStatusCode() - Method in class com.restfb.WebRequestor.Response
Gets the HTTP status code.
getStatuses() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'statuses' connection URL.
getStreet() - Method in class com.restfb.types.User.Address
This address's street.
getStreet() - Method in class com.restfb.types.Venue
Street address of the venue.
getString(int) - Method in class com.restfb.json.JsonArray
Get the string associated with an index.
getString(String) - Method in class com.restfb.json.JsonObject
Get the string associated with a key.
getSubject() - Method in class com.restfb.types.Note
The title of the note.
getTagged() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'tagged' connection URL.
getTags() - Method in class com.restfb.types.Photo
An array containing the users and their positions in this photo.
getTelevision() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'television' connection URL.
getTimezone() - Method in class com.restfb.types.User
The user's timezone offset.
getTo() - Method in class com.restfb.types.Post
A list of the profiles mentioned or targeted in this post.
getType() - Method in class com.restfb.types.FacebookType
This object's type metadata, available by including the metadata=1 URL parameter in an API request.
getUpdatedTime() - Method in class com.restfb.types.Album
The last time the photo album was updated.
getUpdatedTime() - Method in class com.restfb.types.Event
The last time the event was updated.
getUpdatedTime() - Method in class com.restfb.types.Group
The last time the group was updated.
getUpdatedTime() - Method in class com.restfb.types.Note
The time the note was last updated.
getUpdatedTime() - Method in class com.restfb.types.Photo
The last time the photo or its caption was updated.
getUpdatedTime() - Method in class com.restfb.types.Post
The time of the last comment on this post.
getUpdatedTime() - Method in class com.restfb.types.StatusMessage
The time the message was published.
getUpdatedTime() - Method in class com.restfb.types.User
Date the user's profile was updated.
getUpdatedTime() - Method in class com.restfb.types.Video
The last time the video or its caption were updated.
getUpdates() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'updates' connection URL.
getUsername() - Method in class com.restfb.types.Page
The page's username.
getValue() - Method in class com.restfb.types.Post.Privacy
The description of the privacy value.
getVenue() - Method in class com.restfb.types.Event
The location of this event, a structured address object.
getVenue() - Method in class com.restfb.types.Group
The location of this group, a structured address object.
getVerified() - Method in class com.restfb.types.User
Is the user verified?
getVideos() - Method in class com.restfb.types.FacebookType.Metadata.Connections
This object's 'videos' connection URL.
getWebsite() - Method in class com.restfb.types.User
A link to the user's personal website.
getWidth() - Method in class com.restfb.types.Photo
The width of the photo, in pixels.
getWork() - Method in class com.restfb.types.User
A list of the work history from the user's profile
getX() - Method in class com.restfb.types.Photo.Tag
X coordinate (as a percentage of distance from left vs.
getY() - Method in class com.restfb.types.Photo.Tag
Y coordinate (as a percentage of distance from top vs.
getYear() - Method in class com.restfb.types.User.Education
Graduation year.
getZip() - Method in class com.restfb.types.User.Address
This address's zip code.
Group - Class in com.restfb.types
Represents the Group Graph API type.
Group() - Constructor for class com.restfb.types.Group
 

H

handleMappingError(String, Class<?>, Exception) - Method in interface com.restfb.DefaultJsonMapper.JsonMappingErrorHandler
This method will be called by DefaultJsonMapper if it encounters an error while attempting to map JSON to a Java object.
has(String) - Method in class com.restfb.json.JsonObject
Determine if the JsonObject contains a specific key.
hasActivities() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'activities' connection?
hasAlbums() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'albums' connection?
hasBooks() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'books' connection?
hasEvents() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'events' connection?
hasFamily() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'family' connection?
hasFeed() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'feed' connection?
hasFriends() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'friends' connection?
hasGroups() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'groups' connection?
hashCode() - Method in class com.restfb.Connection
 
hashCode() - Method in class com.restfb.FacebookClient.AccessToken
 
hashCode() - Method in class com.restfb.Parameter
 
hashCode() - Method in class com.restfb.types.Checkin.Place
 
hashCode() - Method in class com.restfb.types.Checkin.Place.Location
 
hashCode() - Method in class com.restfb.types.FacebookType
 
hashCode() - Method in class com.restfb.types.FacebookType.Metadata.Connections
 
hashCode() - Method in class com.restfb.types.FacebookType.Metadata
 
hashCode() - Method in class com.restfb.types.Post.Action
 
hashCode() - Method in class com.restfb.types.Post.Comments
 
hashCode() - Method in class com.restfb.types.Post.Likes
 
hashCode() - Method in class com.restfb.types.Post.Privacy
 
hashCode() - Method in class com.restfb.types.User.Address
 
hashCode() - Method in class com.restfb.types.User.Education
 
hashCode() - Method in class com.restfb.types.User.Work
 
hashCode() - Method in class com.restfb.types.Venue
 
hashCode(Object) - Static method in class com.restfb.util.ReflectionUtils
Reflection-based implementation of Object.hashCode().
hasHome() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'home' connection?
hasInbox() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'inbox' connection?
hasInterests() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'interests' connection?
hasLikes() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'likes' connection?
hasLinks() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'links' connection?
hasMovies() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'movies' connection?
hasMusic() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'music' connection?
hasNext() - Method in class com.restfb.Connection
Does this connection have a next page of data?
hasNotes() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'notes' connection?
hasOutbox() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'outbox' connection?
hasPhotos() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'photos' connection?
hasPicture() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'picture' connection?
hasPosts() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'posts' connection?
hasPrevious() - Method in class com.restfb.Connection
Does this connection have a previous page of data?
hasStatuses() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'statuses' connection?
hasTagged() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'tagged' connection?
hasTelevision() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'television' connection?
hasUpdates() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have an 'updates' connection?
hasVideos() - Method in class com.restfb.types.FacebookType.Metadata.Connections
Does this object have a 'videos' connection?

I

isBlank(String) - Static method in class com.restfb.util.StringUtils
Is string blank (null or only whitespace)?
isNull(int) - Method in class com.restfb.json.JsonArray
Determine if the value is null.
isNull(String) - Method in class com.restfb.json.JsonObject
Determine if the value associated with the key is null or if there is no value.
isPrimitive(Object) - Static method in class com.restfb.util.ReflectionUtils
Is the given object a primitive type or wrapper for a primitive type?

J

join(String) - Method in class com.restfb.json.JsonArray
Make a string from the contents of this JsonArray.
join(String[]) - Static method in class com.restfb.util.StringUtils
Joins the given array into a comma-separated string.
join(List<String>) - Static method in class com.restfb.util.StringUtils
Joins the given list into a comma-separated string.
JsonArray - Class in com.restfb.json
A JsonArray is an ordered sequence of values.
JsonArray() - Constructor for class com.restfb.json.JsonArray
Construct an empty JsonArray.
JsonArray(JsonTokener) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from a JsonTokener.
JsonArray(String) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from a source JSON text.
JsonArray(Collection<?>) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from a Collection.
JsonArray(Collection<?>, boolean) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from a collection of beans.
JsonArray(Object) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from an array
JsonArray(Object, boolean) - Constructor for class com.restfb.json.JsonArray
Construct a JsonArray from an array with a bean.
JsonException - Exception in com.restfb.json
The JsonException is thrown by the JSON.org classes then things are amiss.
JsonException(String) - Constructor for exception com.restfb.json.JsonException
Constructs a JsonException with an explanatory message.
JsonException(Throwable) - Constructor for exception com.restfb.json.JsonException
 
JsonMapper - Interface in com.restfb
Specifies how a Facebook JSON-to-Java (and vice-versa) mapper must operate.
JsonObject - Class in com.restfb.json
A JsonObject is an unordered collection of name/value pairs.
JsonObject() - Constructor for class com.restfb.json.JsonObject
Construct an empty JsonObject.
JsonObject(JsonObject, String[]) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from a subset of another JsonObject.
JsonObject(JsonTokener) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from a JsonTokener.
JsonObject(Map<Object, Object>) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from a Map.
JsonObject(Map<Object, Object>, boolean) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from a Map.
JsonObject(Object) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from an Object using bean getters.
JsonObject(Object, boolean) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from an Object using bean getters.
JsonObject(Object, String[]) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from an Object, using reflection to find the public members.
JsonObject(String) - Constructor for class com.restfb.json.JsonObject
Construct a JsonObject from a source JSON text string.
JsonString - Interface in com.restfb.json
The JsonString interface allows a toJSONString() method so that a class can change the behavior of JsonObject.toString(), JsonArray.toString(), and JsonWriter.value(Object).
JsonStringer - Class in com.restfb.json
JsonStringer provides a quick and convenient way of producing JSON text.
JsonStringer() - Constructor for class com.restfb.json.JsonStringer
Make a fresh JsonStringer.
JsonTokener - Class in com.restfb.json
A JsonTokener takes a source string and extracts characters and tokens from it.
JsonTokener(Reader) - Constructor for class com.restfb.json.JsonTokener
Construct a JsonTokener from a string.
JsonTokener(String) - Constructor for class com.restfb.json.JsonTokener
Construct a JsonTokener from a string.
JsonWriter - Class in com.restfb.json
JsonWriter provides a quick and convenient way of producing JSON text.
JsonWriter(Writer) - Constructor for class com.restfb.json.JsonWriter
Make a fresh JsonWriter.

K

key(String) - Method in class com.restfb.json.JsonWriter
Append a key.
keys() - Method in class com.restfb.json.JsonObject
Get an enumeration of the keys of the JsonObject.

L

LegacyFacebookClient - Interface in com.restfb
Specifies how a Legacy Facebook API client must operate.
length() - Method in class com.restfb.json.JsonArray
Get the number of elements in the JsonArray, included nulls.
length() - Method in class com.restfb.json.JsonObject
Get the number of keys stored in the JsonObject.
Link - Class in com.restfb.types
Represents the Link Graph API type.
Link() - Constructor for class com.restfb.types.Link
 

M

more() - Method in class com.restfb.json.JsonTokener
Determine if the source string still contains characters that next() can consume.

N

name - Variable in class com.restfb.Parameter
Parameter name.
NamedFacebookType - Class in com.restfb.types
Superclass for Graph API types that include a name field.
NamedFacebookType() - Constructor for class com.restfb.types.NamedFacebookType
 
names() - Method in class com.restfb.json.JsonObject
Produce a JsonArray containing the names of the elements of this JsonObject.
next() - Method in class com.restfb.json.JsonTokener
Get the next character in the source string.
next(char) - Method in class com.restfb.json.JsonTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class com.restfb.json.JsonTokener
Get the next n characters.
nextClean() - Method in class com.restfb.json.JsonTokener
Get the next char in the string, skipping whitespace.
nextString(char) - Method in class com.restfb.json.JsonTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class com.restfb.json.JsonTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class com.restfb.json.JsonTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextValue() - Method in class com.restfb.json.JsonTokener
Get the next value.
Note - Class in com.restfb.types
Represents the Note Graph API type.
Note() - Constructor for class com.restfb.types.Note
 
NULL - Static variable in class com.restfb.json.JsonObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Static method in class com.restfb.json.JsonObject
Produce a string from a Number.

O

object() - Method in class com.restfb.json.JsonWriter
Begin appending a new object.
opt(int) - Method in class com.restfb.json.JsonArray
Get the optional object value associated with an index.
opt(String) - Method in class com.restfb.json.JsonObject
Get an optional value associated with a key.
optBoolean(int) - Method in class com.restfb.json.JsonArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class com.restfb.json.JsonArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class com.restfb.json.JsonObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class com.restfb.json.JsonObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class com.restfb.json.JsonArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class com.restfb.json.JsonArray
Get the optional double value associated with an index.
optDouble(String) - Method in class com.restfb.json.JsonObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class com.restfb.json.JsonObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int) - Method in class com.restfb.json.JsonArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class com.restfb.json.JsonArray
Get the optional int value associated with an index.
optInt(String) - Method in class com.restfb.json.JsonObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class com.restfb.json.JsonObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJsonArray(int) - Method in class com.restfb.json.JsonArray
Get the optional JsonArray associated with an index.
optJsonArray(String) - Method in class com.restfb.json.JsonObject
Get an optional JsonArray associated with a key.
optJsonObject(int) - Method in class com.restfb.json.JsonArray
Get the optional JsonObject associated with an index.
optJsonObject(String) - Method in class com.restfb.json.JsonObject
Get an optional JsonObject associated with a key.
optLong(int) - Method in class com.restfb.json.JsonArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class com.restfb.json.JsonArray
Get the optional long value associated with an index.
optLong(String) - Method in class com.restfb.json.JsonObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class com.restfb.json.JsonObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int) - Method in class com.restfb.json.JsonArray
Get the optional string value associated with an index.
optString(int, String) - Method in class com.restfb.json.JsonArray
Get the optional string associated with an index.
optString(String) - Method in class com.restfb.json.JsonObject
Get an optional string associated with a key.
optString(String, String) - Method in class com.restfb.json.JsonObject
Get an optional string associated with a key.

P

Page - Class in com.restfb.types
Represents the Page Graph API type.
Page() - Constructor for class com.restfb.types.Page
 
Parameter - Class in com.restfb
Representation of a Facebook API request parameter.
Photo - Class in com.restfb.types
Represents the Photo Graph API type.
Photo() - Constructor for class com.restfb.types.Photo
 
Photo.Tag - Class in com.restfb.types
Represents the Tag Graph API type.
Photo.Tag() - Constructor for class com.restfb.types.Photo.Tag
 
Post - Class in com.restfb.types
Represents the Post Graph API type.
Post() - Constructor for class com.restfb.types.Post
 
Post.Action - Class in com.restfb.types
Represents the Action Graph API type.
Post.Action() - Constructor for class com.restfb.types.Post.Action
 
Post.Comments - Class in com.restfb.types
Represents a collection of Comments.
Post.Comments() - Constructor for class com.restfb.types.Post.Comments
 
Post.Likes - Class in com.restfb.types
Represents a collection of Likes.
Post.Likes() - Constructor for class com.restfb.types.Post.Likes
 
Post.Privacy - Class in com.restfb.types
Represents the Privacy Graph API type.
Post.Privacy() - Constructor for class com.restfb.types.Post.Privacy
 
publish(String, Class<T>, InputStream, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
publish(String, Class<T>, Parameter...) - Method in class com.restfb.DefaultFacebookClient
 
publish(String, Class<T>, Parameter...) - Method in interface com.restfb.FacebookClient
Performs a Graph API publish operation on the given connection, mapping the result to an instance of objectType.
publish(String, Class<T>, InputStream, Parameter...) - Method in interface com.restfb.FacebookClient
Performs a Graph API publish operation on the given connection and includes a file - a photo, for example - in the publish request, and mapping the result to an instance of objectType.
put(boolean) - Method in class com.restfb.json.JsonArray
Append a boolean value.
put(Collection<?>) - Method in class com.restfb.json.JsonArray
Put a value in the JsonArray, where the value will be a JsonArray which is produced from a Collection.
put(double) - Method in class com.restfb.json.JsonArray
Append a double value.
put(int) - Method in class com.restfb.json.JsonArray
Append an int value.
put(long) - Method in class com.restfb.json.JsonArray
Append an long value.
put(Map<?, ?>) - Method in class com.restfb.json.JsonArray
Put a value in the JsonArray, where the value will be a JsonObject which is produced from a Map.
put(Object) - Method in class com.restfb.json.JsonArray
Append an object value.
put(int, boolean) - Method in class com.restfb.json.JsonArray
Put or replace a boolean value in the JsonArray.
put(int, Collection<?>) - Method in class com.restfb.json.JsonArray
Put a value in the JsonArray, where the value will be a JsonArray which is produced from a Collection.
put(int, double) - Method in class com.restfb.json.JsonArray
Put or replace a double value.
put(int, int) - Method in class com.restfb.json.JsonArray
Put or replace an int value.
put(int, long) - Method in class com.restfb.json.JsonArray
Put or replace a long value.
put(int, Map<?, ?>) - Method in class com.restfb.json.JsonArray
Put a value in the JsonArray, where the value will be a JsonObject which is produced from a Map.
put(int, Object) - Method in class com.restfb.json.JsonArray
Put or replace an object value in the JsonArray.
put(String, Collection<?>) - Method in class com.restfb.json.JsonObject
Put a key/value pair in the JsonObject, where the value will be a JsonArray which is produced from a Collection.
put(String, boolean) - Method in class com.restfb.json.JsonObject
Put a key/boolean pair in the JsonObject.
put(String, double) - Method in class com.restfb.json.JsonObject
Put a key/double pair in the JsonObject.
put(String, int) - Method in class com.restfb.json.JsonObject
Put a key/int pair in the JsonObject.
put(String, long) - Method in class com.restfb.json.JsonObject
Put a key/long pair in the JsonObject.
put(String, Map<?, ?>) - Method in class com.restfb.json.JsonObject
Put a key/value pair in the JsonObject, where the value will be a JsonObject which is produced from a Map.
put(String, Object) - Method in class com.restfb.json.JsonObject
Put a key/value pair in the JsonObject.
putOnce(String, Object) - Method in class com.restfb.json.JsonObject
Put a key/value pair in the JsonObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in class com.restfb.json.JsonObject
Put a key/value pair in the JsonObject, but only if the key and the value are both non-null.

Q

quote(String) - Static method in class com.restfb.json.JsonObject
Produce a string in double quotes with backslash sequences in all the right places.

R

ReflectionUtils - Class in com.restfb.util
A collection of reflection-related utility methods.
ReflectionUtils.FieldWithAnnotation<T extends Annotation> - Class in com.restfb.util
A field/annotation pair.
ReflectionUtils.FieldWithAnnotation(Field, T) - Constructor for class com.restfb.util.ReflectionUtils.FieldWithAnnotation
Creates a field/annotation pair.
remove(int) - Method in class com.restfb.json.JsonArray
Remove a index and close the hole.
remove(String) - Method in class com.restfb.json.JsonObject
Remove a name and its value, if present.

S

skipTo(char) - Method in class com.restfb.json.JsonTokener
Skip characters until the next character is the requested character.
sortedKeys() - Method in class com.restfb.json.JsonObject
Get an enumeration of the keys of the JsonObject.
StatusMessage - Class in com.restfb.types
Represents the Status Message Graph API type.
StatusMessage() - Constructor for class com.restfb.types.StatusMessage
 
stringToValue(String) - Static method in class com.restfb.json.JsonObject
Try to convert a string into a number, boolean, or null.
StringUtils - Class in com.restfb.util
A collection of string-handling utility methods.
syntaxError(String) - Method in class com.restfb.json.JsonTokener
Make a JsonException to signal a syntax error.

T

toBytes(String) - Static method in class com.restfb.util.StringUtils
Converts string to a byte array.
toDateFromLongFormat(String) - Static method in class com.restfb.util.DateUtils
Returns a Java representation of a Facebook "long" date string.
toDateFromMonthYearFormat(String) - Static method in class com.restfb.util.DateUtils
Returns a Java representation of a Facebook "month-year" date string.
toDateFromShortFormat(String) - Static method in class com.restfb.util.DateUtils
Returns a Java representation of a Facebook "short" date string.
toJavaList(String, Class<T>) - Method in class com.restfb.DefaultJsonMapper
 
toJavaList(String, Class<T>) - Method in interface com.restfb.JsonMapper
Given a JSON string, create and return a new instance of a corresponding Java List which contains elements of type type.
toJavaObject(String, Class<T>) - Method in class com.restfb.DefaultJsonMapper
 
toJavaObject(String, Class<T>) - Method in interface com.restfb.JsonMapper
Given a JSON string, create and return a new instance of a corresponding Java object of type type.
toJson(Object) - Method in class com.restfb.DefaultJsonMapper
 
toJson(Object) - Method in interface com.restfb.JsonMapper
Given a Java object, create and return a JSON string that represents it.
toJsonArray(JsonArray) - Method in class com.restfb.json.JsonObject
Produce a JsonArray containing the values of the members of this JsonObject.
toJsonObject(JsonArray) - Method in class com.restfb.json.JsonArray
Produce a JsonObject by combining a JsonArray of names with the values of this JsonArray.
toJsonString() - Method in interface com.restfb.json.JsonString
The toJSONString method allows a class to produce its own JSON serialization.
toString() - Method in class com.restfb.Connection
 
toString() - Method in class com.restfb.FacebookClient.AccessToken
 
toString() - Method in class com.restfb.json.JsonArray
Make a JSON text of this JsonArray.
toString(int) - Method in class com.restfb.json.JsonArray
Make a prettyprinted JSON text of this JsonArray.
toString() - Method in class com.restfb.json.JsonObject
Make a JSON text of this JsonObject.
toString(int) - Method in class com.restfb.json.JsonObject
Make a prettyprinted JSON text of this JsonObject.
toString() - Method in class com.restfb.json.JsonStringer
Return the JSON text.
toString() - Method in class com.restfb.json.JsonTokener
Make a printable string of this JsonTokener.
toString() - Method in class com.restfb.Parameter
 
toString() - Method in class com.restfb.types.Checkin.Place.Location
 
toString() - Method in class com.restfb.types.Checkin.Place
 
toString() - Method in class com.restfb.types.FacebookType.Metadata.Connections
 
toString() - Method in class com.restfb.types.FacebookType.Metadata
 
toString() - Method in class com.restfb.types.FacebookType
 
toString() - Method in class com.restfb.types.Post.Action
 
toString() - Method in class com.restfb.types.Post.Comments
 
toString() - Method in class com.restfb.types.Post.Likes
 
toString() - Method in class com.restfb.types.Post.Privacy
 
toString() - Method in class com.restfb.types.User.Address
 
toString() - Method in class com.restfb.types.User.Education
 
toString() - Method in class com.restfb.types.User.Work
 
toString() - Method in class com.restfb.types.Venue
 
toString() - Method in class com.restfb.util.ReflectionUtils.FieldWithAnnotation
 
toString(Object) - Static method in class com.restfb.util.ReflectionUtils
Reflection-based implementation of Object.toString().
toString() - Method in class com.restfb.WebRequestor.Response
 
trimToEmpty(String) - Static method in class com.restfb.util.StringUtils
Returns a trimmed version of string, or an empty string if string is null or the trimmed version is a blank string.
trimToNull(String) - Static method in class com.restfb.util.StringUtils
Returns a trimmed version of string, or null if string is null or the trimmed version is a blank string.

U

Url - Class in com.restfb.types
 
Url() - Constructor for class com.restfb.types.Url
 
urlEncode(String) - Static method in class com.restfb.util.StringUtils
URL-encodes a string.
User - Class in com.restfb.types
Represents the User Graph API type.
User() - Constructor for class com.restfb.types.User
 
User.Address - Class in com.restfb.types
Represents a User's address.
User.Address() - Constructor for class com.restfb.types.User.Address
 
User.Education - Class in com.restfb.types
Represents the Education Graph API type.
User.Education() - Constructor for class com.restfb.types.User.Education
 
User.Work - Class in com.restfb.types
Represents the Work Graph API type.
User.Work() - Constructor for class com.restfb.types.User.Work
 

V

value(boolean) - Method in class com.restfb.json.JsonWriter
Append either the value true or the value false.
value(double) - Method in class com.restfb.json.JsonWriter
Append a double value.
value(long) - Method in class com.restfb.json.JsonWriter
Append a long value.
value(Object) - Method in class com.restfb.json.JsonWriter
Append an object value.
value - Variable in class com.restfb.Parameter
Parameter value.
Venue - Class in com.restfb.types
Represents the Venue Graph API type.
Venue() - Constructor for class com.restfb.types.Venue
 
Video - Class in com.restfb.types
Represents the Video Graph API type.
Video() - Constructor for class com.restfb.types.Video
 

W

WebRequestor - Interface in com.restfb
Specifies how a class that sends HTTP requests to the Facebook API endpoint must operate.
WebRequestor.Response - Class in com.restfb
Encapsulates an HTTP response body and status code.
WebRequestor.Response(Integer, String) - Constructor for class com.restfb.WebRequestor.Response
Creates a response with the given HTTP status code and response body as text.
with(String, Object) - Static method in class com.restfb.Parameter
Factory method which provides an instance with the given name and value.
with(String, Object, JsonMapper) - Static method in class com.restfb.Parameter
Factory method which provides an instance with the given name and value, using the provided jsonMapper to turn value into a JSON string.
write(Writer) - Method in class com.restfb.json.JsonArray
Write the contents of the JsonArray as JSON text to a writer.
write(Writer) - Method in class com.restfb.json.JsonObject
Write the contents of the JsonObject as JSON text to a writer.

A B C D E F G H I J K L M N O P Q R S T U V W

Copyright © 2010-2011. All Rights Reserved.