Last modified: 2014-02-10 19:40:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61994, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59994 - Extensions:TweetANew twitter API v1 retired
Extensions:TweetANew twitter API v1 retired
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TweetANew (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: ISAKA Yoji
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-13 12:45 UTC by ISAKA Yoji
Modified: 2014-02-10 19:40 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ISAKA Yoji 2014-01-13 12:45:02 UTC
Extensions:TweetANew is not working because twitter API v1 has retired last year.
Following patch is working in my site.


--- TweetANew.body.php.head	2013-12-07 10:54:04.000000000 +0900
+++ TweetANew.body.php	2014-01-13 15:53:52.000000000 +0900
@@ -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;


Note: Already reported this problem and solution in MediaWiki talk page.
http://www.mediawiki.org/wiki/Extension_talk:TweetANew#Not_working_with_new_Twitter_API.3F_29003
Comment 1 Andre Klapper 2014-01-13 13:05:46 UTC
CC'ing Varnent who is listed as maintainer on https://www.mediawiki.org/wiki/Extension:TweetANew
Comment 2 Gerrit Notification Bot 2014-01-13 17:23:00 UTC
Change 107180 had a related patch set uploaded by Dereckson:
Call Twitter API 1.1 instead of 1.0

https://gerrit.wikimedia.org/r/107180
Comment 3 Dereckson 2014-01-13 17:24:31 UTC
Thank you for reporting this, I've submitted a change based on your patch on our code review system.
Comment 4 ISAKA Yoji 2014-01-19 13:25:19 UTC
Thank you!
Comment 5 Gerrit Notification Bot 2014-02-09 18:29:40 UTC
Change 107180 merged by Varnent:
Call Twitter API 1.1 instead of 1.0

https://gerrit.wikimedia.org/r/107180
Comment 6 varnent 2014-02-09 18:31:28 UTC
Thank you!
Comment 7 Dereckson 2014-02-10 19:40:40 UTC
[ Bug assigned back to patch submitter. ]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links