You are here

public function Twitter::verify_credentials in Twitter 6.3

Same name and namespace in other branches
  1. 6.5 twitter.lib.php \Twitter::verify_credentials()
  2. 7.6 twitter.lib.php \Twitter::verify_credentials()
  3. 7.3 twitter.lib.php \Twitter::verify_credentials()
  4. 7.5 twitter.lib.php \Twitter::verify_credentials()

See also

https://dev.twitter.com/docs/api/1/get/account/verify_credentials

File

./twitter.lib.php, line 222
Classes to implement the full Twitter API

Class

Twitter
Primary Twitter API implementation class Supports the full REST API for twitter.

Code

public function verify_credentials() {
  if ($values = $this
    ->call('account/verify_credentials', array(), 'GET', TRUE)) {
    return new TwitterUser($values);
  }
}