Dereckson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/107180


Change subject: Call Twitter API 1.1 instead of 1.0
......................................................................

Call Twitter API 1.1 instead of 1.0

Twitter API 1.0 is now retired, replacing the 1/statuses/update call
by a 1.1/statuses/update call.

Thank you to ISAKA Yoji to have reporting this.

Bug: 59994
Change-Id: I48a813d47072803fee85ca36da25e839eb3e7410
---
M TweetANew.body.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TweetANew 
refs/changes/80/107180/1

diff --git a/TweetANew.body.php b/TweetANew.body.php
index 4f52685..fddf55e 100644
--- a/TweetANew.body.php
+++ b/TweetANew.body.php
@@ -254,7 +254,7 @@
 
                # Make tweet message
                $tmhOAuth->request( 'POST',
-                       $tmhOAuth->url( '1/statuses/update' ),
+                       $tmhOAuth->url( '1.1/statuses/update' ),
                        array( 'status' => $tweet_text )
                );
                return true;

-- 
To view, visit https://gerrit.wikimedia.org/r/107180
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I48a813d47072803fee85ca36da25e839eb3e7410
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TweetANew
Gerrit-Branch: master
Gerrit-Owner: Dereckson <dereck...@espace-win.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to