JFacebookObject::createConnection
Method to create a connection.
Signature
public function createConnection(string
$object,
[string
$connection = null,
[array
$parameters = null,
[array
$headers = null]]] )
Parameters
-
$object
- The object id.
-
$connection
- The object's connection name.
-
$parameters
- The POST request parameters.
-
$headers
- An array of name-value pairs to include in the header of the request
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.