← Back to team overview

cairo-dock-team team mailing list archive

[Merge] lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter into lp:cairo-dock-plug-ins-extras

 

Eduardo Mucelli Rezende Oliveira has proposed merging lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter into lp:cairo-dock-plug-ins-extras.

Requested reviews:
  Cairo-Dock Team (cairo-dock-team)

For more details, see:
https://code.launchpad.net/~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter/+merge/102373

Formatting the API urls, last commit before start with Identi.ca
-- 
https://code.launchpad.net/~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter/+merge/102373
Your team Cairo-Dock Team is requested to review the proposed merge of lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter into lp:cairo-dock-plug-ins-extras.
=== modified file 'Twitter/Twitter'
--- Twitter/Twitter	2012-04-15 17:42:50 +0000
+++ Twitter/Twitter	2012-04-17 19:02:19 +0000
@@ -124,13 +124,13 @@
   def __init__(self, access_key, access_secret):
     API.__init__(self, access_key, access_secret)
     
-    self.update_url               = 'http://twitter.com/statuses/update.json'
-    self.home_timeline_url        = 'http://twitter.com/statuses/home_timeline.json'
+    self.update_url               = 'https://api.twitter.com/1/statuses/update.json'
+    self.home_timeline_url        = 'https://api.twitter.com/1/statuses/home_timeline.json'
     self.direct_messages_url      = 'https://api.twitter.com/1/direct_messages.json'
     self.new_direct_messages_url  = 'https://api.twitter.com/1/direct_messages/new.json'
     self.verify_credentials_url   = 'https://api.twitter.com/1/account/verify_credentials.json'
-    self.user_timeline_url        = 'http://api.twitter.com/1/statuses/user_timeline.json'
-    self.retweet_url_prefix       = 'http://api.twitter.com/1/statuses/retweet/'            # lacks the id of the tweet to be retweeted
+    self.user_timeline_url        = 'https://api.twitter.com/1/statuses/user_timeline.json'
+    self.retweet_url_prefix       = 'https://api.twitter.com/1/statuses/retweet/'            # lacks the id of the tweet to be retweeted
     
   def dispatch(self, url, mode, parameters={}):
     oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer,


Follow ups