You are here

public function Twitter::account_settings in Twitter 7.5

Same name and namespace in other branches
  1. 6.5 twitter.lib.php \Twitter::account_settings()
  2. 7.6 twitter.lib.php \Twitter::account_settings()

Returns settings (including current trend, geo and sleep time information) for the authenticating user.

Return value

An array of settings.

See also

https://dev.twitter.com/docs/api/1.1/get/account/settings

File

./twitter.lib.php, line 903
Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1

Class

Twitter
Primary Twitter API implementation class

Code

public function account_settings() {
  return $this
    ->call('account/settings', $params, 'GET');
}