object Response sendRequest(
string
$method, [array
$args = array()])
|
|
Send a request to the API
Used by all of the interface classes to send a request to the Facebook API. It builds the standard argument list, munges that with the arguments passed to it, signs the request and sends it along to the API.
Once the request has taken place the cURL response is checked to make sure no low level HTTP errors occurred, the XML is parsed using SimpleXml and then checked for Facebook errors.
Any formal error encountered is thrown as an exception.
Parameters: