From 13e44a5ff17c274d8bb6cbd63fcbf3de7b0aa615 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 19 Jul 2009 14:28:54 -0400 Subject: [PATCH] Add constants for the various URLs needed for OAuth --- framework/Service_Twitter/lib/Horde/Service/Twitter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/Service_Twitter/lib/Horde/Service/Twitter.php b/framework/Service_Twitter/lib/Horde/Service/Twitter.php index 9584d44fb..5a35a82b9 100644 --- a/framework/Service_Twitter/lib/Horde/Service/Twitter.php +++ b/framework/Service_Twitter/lib/Horde/Service/Twitter.php @@ -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() * -- 2.11.0