Add constants for the various URLs needed for OAuth
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 19 Jul 2009 18:28:54 +0000 (14:28 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 19 Jul 2009 18:28:54 +0000 (14:28 -0400)
framework/Service_Twitter/lib/Horde/Service/Twitter.php

index 9584d44..5a35a82 100644 (file)
@@ -13,6 +13,9 @@
 class Horde_Service_Twitter
 {
 
+    const REQUEST_TOKEN_URL = 'http://twitter.com/oauth/request_token';
+    const USER_AUTHORIZE_URL = 'http://twitter.com/oauth/authorize';
+    const ACCESS_TOKEN_URL = 'http://twitter.com/oauth/access_token';
     /**
      * Cache for the various objects we lazy load in __get()
      *