protected function Twitter::auth_request in Twitter 6.3
Same name and namespace in other branches
- 6.5 twitter.lib.php \Twitter::auth_request()
- 7.6 twitter.lib.php \Twitter::auth_request()
- 7.3 twitter.lib.php \Twitter::auth_request()
- 7.5 twitter.lib.php \Twitter::auth_request()
Perform an authentication required request.
1 call to Twitter::auth_request()
- Twitter::call in ./
twitter.lib.php - Calls a twitter api resource
1 method overrides Twitter::auth_request()
- TwitterOAuth::auth_request in ./
twitter.lib.php - Perform an authentication required request.
File
- ./
twitter.lib.php, line 267 - Classes to implement the full Twitter API
Class
- Primary Twitter API implementation class Supports the full REST API for twitter.
Code
protected function auth_request($path, $params = array(), $method = 'GET') {
if (empty($this->username) || empty($this->password)) {
return false;
}
return $this
->request($path, $params, $method, TRUE);
}