facebook4j.api
Interface RawAPIMethods

All Known Subinterfaces:
Facebook

public interface RawAPIMethods

Since:
Facebook4J 2.1.0
Author:
Hiroaki Takeuchi - takke30 at gmail.com

Method Summary
 RawAPIResponse callDeleteAPI(String relativeUrl)
          Calls raw Facebook DELETE API simply.
 RawAPIResponse callDeleteAPI(String relativeUrl, Map<String,String> parameters)
          Calls raw Facebook DELETE API simply.
 RawAPIResponse callGetAPI(String relativeUrl)
          Calls raw Facebook GET API simply.
 RawAPIResponse callGetAPI(String relativeUrl, facebook4j.internal.http.HttpParameter... parameters)
          Calls raw Facebook GET API simply.
 RawAPIResponse callGetAPI(String relativeUrl, Map<String,String> parameters)
          Calls raw Facebook GET API simply.
 RawAPIResponse callPostAPI(String relativeUrl)
          Calls raw Facebook POST API simply.
 RawAPIResponse callPostAPI(String relativeUrl, facebook4j.internal.http.HttpParameter... parameters)
          Calls raw Facebook POST API simply.
 RawAPIResponse callPostAPI(String relativeUrl, Map<String,String> parameters)
          Calls raw Facebook POST API simply.
 

Method Detail

callGetAPI

RawAPIResponse callGetAPI(String relativeUrl)
                          throws FacebookException
Calls raw Facebook GET API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callGetAPI

RawAPIResponse callGetAPI(String relativeUrl,
                          Map<String,String> parameters)
                          throws FacebookException
Calls raw Facebook GET API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
parameters - GET parameters
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callGetAPI

RawAPIResponse callGetAPI(String relativeUrl,
                          facebook4j.internal.http.HttpParameter... parameters)
                          throws FacebookException
Calls raw Facebook GET API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
parameters - GET parameters
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callPostAPI

RawAPIResponse callPostAPI(String relativeUrl)
                           throws FacebookException
Calls raw Facebook POST API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callPostAPI

RawAPIResponse callPostAPI(String relativeUrl,
                           Map<String,String> parameters)
                           throws FacebookException
Calls raw Facebook POST API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
parameters - POST parameters
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callPostAPI

RawAPIResponse callPostAPI(String relativeUrl,
                           facebook4j.internal.http.HttpParameter... parameters)
                           throws FacebookException
Calls raw Facebook POST API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
parameters - POST parameters
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callDeleteAPI

RawAPIResponse callDeleteAPI(String relativeUrl)
                             throws FacebookException
Calls raw Facebook DELETE API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable

callDeleteAPI

RawAPIResponse callDeleteAPI(String relativeUrl,
                             Map<String,String> parameters)
                             throws FacebookException
Calls raw Facebook DELETE API simply. This method not supports "JSONStore" option because this method returns the json object itself.

Parameters:
relativeUrl - relativeUrl
parameters - parameters
Returns:
response
Throws:
FacebookException - when Facebook service or network is unavailable


Copyright © 2019. All rights reserved.