Twitter::doCall
Make the call
Signature
protected function doCall(string
$url,
[array
$parameters = NULL,
[boolean
$authenticate = false,
[string
$method = 'GET',
[string[optional]
$filePath = NULL,
[boolean
$expectJSON = true,
[boolean
$returnHeaders = false]]]]]] )
Parameters
$url
—
string
- The url to call.
$parameters
—
array
- Optional parameters.
$authenticate
—
boolean
- Should we authenticate.
$method
—
string
- The method to use. Possible values are GET, POST.
$filePath
—
object
- The path to the file to upload.
$expectJSON
—
boolean
- Do we expect JSON.
$returnHeaders
—
boolean
- Should the headers be returned?
Returns
- string