Uses of Class
com.restfb.Parameter
Packages that use Parameter
Package
Description
Contains types used to interact with the Facebook
Graph API.
Support classes for RestFB's implementation of the
Facebook Batch API.
-
Uses of Parameter in com.restfb
Methods in com.restfb that return ParameterModifier and TypeMethodDescriptionstatic ParameterFactory method which provides an instance with the givennameandvalue.static ParameterParameter.with(String name, Object value, JsonMapper jsonMapper) Factory method which provides an instance with the givennameandvalue, using the providedjsonMapperto turnvalueinto a JSON string.static ParameterParameter.withFields(String fieldList) convenience factory method which needs a comma separated list of fields that the dev likes to fetch from the APIstatic ParameterParameter.withLimit(int limit) convenience factory method which creates aParameterobject to fetch data from API with given limitstatic ParameterParameter.withLocale(Locale locale) convenience factory method which creates aParameterobject to fetch data from API with given localestatic ParameterParameter.withMessage(Object obj) convenience factory method which creates aParameterobject to post an object with a message parameter to the APIstatic ParameterParameter.withMetadata()Convenience factory method that creates aParameterobject to retrieve the metadata from the API.static Parameterconvenience factory method which creates aParameterobject to query some information e.g. searching profiles the APIMethods in com.restfb with parameters of type ParameterModifier and TypeMethodDescriptionbooleanDefaultFacebookClient.deleteObject(String object, Parameter... parameters) booleanFacebookClient.deleteObject(String object, Parameter... parameters) Performs a Graph API delete operation on the givenobject.<T> Connection<T>DefaultFacebookClient.fetchConnection(String connection, Class<T> connectionType, Parameter... parameters) <T> Connection<T>FacebookClient.fetchConnection(String connection, Class<T> connectionType, Parameter... parameters) Fetches a Graph APIConnectiontype, mapping the result to an instance ofconnectionType.<T> TDefaultFacebookClient.fetchObject(String object, Class<T> objectType, Parameter... parameters) <T> TFacebookClient.fetchObject(String object, Class<T> objectType, Parameter... parameters) Fetches a single Graph API object, mapping the result to an instance ofobjectType.<T> TDefaultFacebookClient.fetchObjects(List<String> ids, Class<T> objectType, Parameter... parameters) <T> TFacebookClient.fetchObjects(List<String> ids, Class<T> objectType, Parameter... parameters) Fetches multiple Graph API objects in a single call, mapping the results to an instance ofobjectType.DefaultFacebookClient.getBusinessLoginDialogUrl(String appId, String redirectUri, String configId, String state, Parameter... parameters) DefaultThreadsClient.getBusinessLoginDialogUrl(String appId, String redirectUri, String configId, String state, Parameter... parameters) FacebookClient.getBusinessLoginDialogUrl(String appId, String redirectUri, String configId, String state, Parameter... parameters) Generates the login dialog url for BusinessDefaultFacebookClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, Parameter... parameters) DefaultFacebookClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, String state, Parameter... parameters) DefaultInstagramLoginClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, Parameter... parameters) DefaultInstagramLoginClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, String state, Parameter... parameters) DefaultThreadsClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, Parameter... parameters) DefaultThreadsClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, String state, Parameter... parameters) FacebookClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, Parameter... additionalParameters) generates the login dialog urlFacebookClient.getLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, String state, Parameter... parameters) generates the login dialog urlprotected StringDefaultFacebookClient.makeRequest(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Body body, Parameter... parameters) Coordinates the process of executing the API request GET/POST and processing the response we receive from the endpoint.protected StringDefaultFacebookClient.makeRequest(String endpoint, boolean executeAsPost, boolean executeAsDelete, List<BinaryAttachment> binaryAttachments, Parameter... parameters) protected StringDefaultFacebookClient.makeRequest(String endpoint, Parameter... parameters) Coordinates the process of executing the API request GET/POST and processing the response we receive from the endpoint.<T> TDefaultFacebookClient.publish(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) <T> TDefaultFacebookClient.publish(String connection, Class<T> objectType, Body body, Parameter... parameters) <T> T<T> TDefaultFacebookClient.publish(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) <T> TFacebookClient.publish(String connection, Class<T> objectType, BinaryAttachment binaryAttachment, Parameter... parameters) Performs a Graph API publish operation on the givenconnectionand includes a file - a photo, for example - in the publish request, and mapping the result to an instance ofobjectType.<T> TPerforms a Graph API publish operation on the givenconnectionand includes special body in the publish request, and mapping the result to an instance ofobjectType.<T> TPerforms a Graph API publish operation on the givenconnection, mapping the result to an instance ofobjectType.<T> TFacebookClient.publish(String connection, Class<T> objectType, List<BinaryAttachment> binaryAttachments, Parameter... parameters) Performs a Graph API publish operation on the givenconnectionand includes some files - photos, for example - in the publish request, and mapping the result to an instance ofobjectType.protected StringDefaultFacebookClient.toParameterString(boolean withJsonParameter, Parameter... parameters) Generate the parameter string to be included in the Facebook API request.protected StringDefaultFacebookClient.toParameterString(Parameter... parameters) Generate the parameter string to be included in the Facebook API request.Method parameters in com.restfb with type arguments of type ParameterModifier and TypeMethodDescriptionprotected StringDefaultFacebookClient.getGenericLoginDialogUrl(String appId, String redirectUri, ScopeBuilder scope, Supplier<String> endpointSupplier, String state, List<Parameter> parameters) -
Uses of Parameter in com.restfb.batch
Methods in com.restfb.batch with parameters of type ParameterModifier and TypeMethodDescriptionSets the request body parameters for the request generated by this builder, for exampleParameter.with("message", "Test status update").BatchRequest.BatchRequestBuilder.parameters(Parameter... parameters) Specifies URL parameters for the request generated by this builder.Method parameters in com.restfb.batch with type arguments of type ParameterModifier and TypeMethodDescriptionprotected StringBatchRequest.generateParameterString(List<Parameter> parameters) For a list of parameters, generate a URL query string.Constructor parameters in com.restfb.batch with type arguments of type ParameterModifierConstructorDescriptionprotectedBatchRequest(String relativeUrl, List<Parameter> parameters, String method, List<BatchHeader> headers, List<Parameter> bodyParameters, String attachedFiles, String dependsOn, String name, boolean omitResponseOnSuccess) Designed to be invoked by instances ofBatchRequest.BatchRequestBuilder.