public function Twitter::account_update_profile_banner in Twitter 7.6
Same name and namespace in other branches
- 6.5 twitter.lib.php \Twitter::account_update_profile_banner()
- 7.5 twitter.lib.php \Twitter::account_update_profile_banner()
Uploads a profile banner on behalf of the authenticating user.
Parameters
string $banner: The Base64-encoded or raw image data being uploaded as the user's new profile banner.
array $params: An array of parameters.
See also
https://dev.twitter.com/docs/api/1.1/post/account/update_profile_banner
File
- ./
twitter.lib.php, line 1252 - Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1
Class
- Primary Twitter API implementation class
Code
public function account_update_profile_banner($banner, $params = array()) {
$params['banner'] = $banner;
return $this
->call('account/update_profile_banner', $params, 'POST');
}