Page MenuHomePhabricator

Extensions:TweetANew twitter API v1 retired
Closed, ResolvedPublic

Description

Author: isaka

Description:
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 @@

    1. 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


Version: unspecified
Severity: major

Details

Reference
bz59994

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:42 AM
bzimport set Reference to bz59994.

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

Thank you for reporting this, I've submitted a change based on your patch on our code review system.

Change 107180 merged by Varnent:
Call Twitter API 1.1 instead of 1.0

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

[ Bug assigned back to patch submitter. ]