public function accountUpdateProfile($name = null, $url = null, $location = null, $description = null, $includeEntities = null, $skipStatus = null)
{
// build parameters
$parameters = null;
if ($name != null) {
$parameters['name'] = (string) $name;
}
if ($url != null) {
$parameters['url'] = (string) $url;
}
if ($location != null) {
$parameters['location'] = (string) $location;
}
if ($description != null) {
$parameters['description'] = (string) $description;
}
if ($includeEntities !== null) {
$parameters['include_entities'] = $includeEntities ? 'true' : 'false';
}
if ($skipStatus !== null) {
$parameters['skip_status'] = $skipStatus ? 'true' : 'false';
}
// make the call
return $this->doCall('account/update_profile.json', $parameters, true, 'POST');
}