Merge lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter into lp:~cairo-dock-team/cairo-dock-plug-ins-extras/third-party

Proposed by Eduardo Mucelli Rezende Oliveira
Status: Merged
Merged at revision: 259
Proposed branch: lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter
Merge into: lp:~cairo-dock-team/cairo-dock-plug-ins-extras/third-party
Diff against target: 21 lines (+4/-4)
1 file modified
Twitter/Twitter (+4/-4)
To merge this branch: bzr merge lp:~eduardo-mucelli/cairo-dock-plug-ins-extras/Twitter
Reviewer Review Type Date Requested Status
Cairo-Dock Devs Pending
Review via email: mp+102373@code.launchpad.net

Description of the change

Formatting the API urls, last commit before start with Identi.ca

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Twitter/Twitter'
2--- Twitter/Twitter 2012-04-15 17:42:50 +0000
3+++ Twitter/Twitter 2012-04-17 19:02:19 +0000
4@@ -124,13 +124,13 @@
5 def __init__(self, access_key, access_secret):
6 API.__init__(self, access_key, access_secret)
7
8- self.update_url = 'http://twitter.com/statuses/update.json'
9- self.home_timeline_url = 'http://twitter.com/statuses/home_timeline.json'
10+ self.update_url = 'https://api.twitter.com/1/statuses/update.json'
11+ self.home_timeline_url = 'https://api.twitter.com/1/statuses/home_timeline.json'
12 self.direct_messages_url = 'https://api.twitter.com/1/direct_messages.json'
13 self.new_direct_messages_url = 'https://api.twitter.com/1/direct_messages/new.json'
14 self.verify_credentials_url = 'https://api.twitter.com/1/account/verify_credentials.json'
15- self.user_timeline_url = 'http://api.twitter.com/1/statuses/user_timeline.json'
16- self.retweet_url_prefix = 'http://api.twitter.com/1/statuses/retweet/' # lacks the id of the tweet to be retweeted
17+ self.user_timeline_url = 'https://api.twitter.com/1/statuses/user_timeline.json'
18+ self.retweet_url_prefix = 'https://api.twitter.com/1/statuses/retweet/' # lacks the id of the tweet to be retweeted
19
20 def dispatch(self, url, mode, parameters={}):
21 oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer,

Subscribers

People subscribed via source and target branches