Module: Twitter - How to make it work with API v1.1

MarkRH

Joined: 2007-05-25
Posts: 241
Posted: Wed, 2013-06-12 07:32

Twitter just killed v1.0 of it's API which has broken this module (fails to send tweet). Here's how to fix it:

Edit \modules\twitter\vendor\twitteroauth\twitteroauth.php and change:

  /* Set up the API root URL. */
  public $host = "https://api.twitter.com/1/";

to:

  /* Set up the API root URL. */
  public $host = "https://api.twitter.com/1.1/";

And that's all that needs to be done.

The original support thread was: http://galleryproject.org/node/100791 which is apparently too old to add this reply to.

- Mark H.

Using Gallery 3.0.8 - gallery.markheadrick.com

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 238
Posted: Thu, 2013-06-13 21:27

Thanks. I'll fix it ASAP.

--
2tbsp.com
github.com