summaryrefslogtreecommitdiffstats
path: root/includes/OAuth/Twitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/OAuth/Twitter.php')
-rw-r--r--includes/OAuth/Twitter.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/OAuth/Twitter.php b/includes/OAuth/Twitter.php
new file mode 100644
index 0000000..cb2f04d
--- /dev/null
+++ b/includes/OAuth/Twitter.php
@@ -0,0 +1,14 @@
+<?php
+
+class Twitter extends Oauth {
+
+ protected $_prefix = 'twitter';
+ protected $_authorize_url = 'https://api.twitter.com/oauth/authorize';
+ protected $_access_token_url = 'https://api.twitter.com/oauth/access_token';
+ protected $_request_token_url = 'https://api.twitter.com/oauth/request_token';
+
+ public function requestAccessToken($method = 'POST', Array $params = array(), $returnType = 'flat', Array $values = array('oauth_token', 'oauth_token_secret')){
+ parent::requestAccessToken($method, $params, $returnType, $values);
+ }
+
+} \ No newline at end of file