private function Client::buildArgs in Instagram API 8
Build default args.
Parameters
array $args: Args to request.
string $method: Method to call.
string $format: Format to request.
Return value
array Return the args array.
1 call to Client::buildArgs()
- Client::request in src/
Service/ Client.php - Instagram request.
File
- src/
Service/ Client.php, line 142
Class
- Client
- Class Client.
Namespace
Drupal\instagram_api\ServiceCode
private function buildArgs(array $args, $method, $format = 'json') {
// Add in additional parameters then sort them for signing.
$args['access_token'] = $this->access_token;
ksort($args);
return $args;
}