JFacebookObject::sendRequest
Method to send the request.
Signature
public function sendRequest(string
$path,
[mixed
$data = '',
[array
$headers = null,
[integer
$limit = 0,
[integer
$offset = 0,
[string
$until = null,
[string
$since = null]]]]]] )
Parameters
-
$path
- The path of the request to make.
-
$data
- Either an associative array or a string to be sent with the post request.
-
$headers
- An array of name-value pairs to include in the header of the request
-
$limit
- The number of objects per page.
-
$offset
- The object's number on the page.
-
$until
- A unix timestamp or any date accepted by strtotime.
-
$since
- A unix timestamp or any date accepted by strtotime.
Returns
- mixed
- The request response.
Errors/Exceptions
-
DomainException