Abraham Twitteroauth with 1.1


Is anyone aware if Abraham is working on an update for his PHP library to support Twitter’s 1.1 API?


yes I can do that please mail me on anupamrai1985@gmail.com.
I have more than 10 year exper in development.
iI have already done this type of work.
And Skype ID


You just need to change the URL in twitteroauth.php to reflect the 1.1 path.

It’s the 'host" variable. Simply change it to https://api.twitter.com/1.1/ and it will work with all the new 1.1 features.


Where is the host variable located ? I don’t seem to see it.


Don have live link all links are die…


Hello! I don’t know if you’ve already found it or not, but it is located in twitteroauth/twitteroauth.php (line 21)


Did you get it working with this solution? It doesn’t fix the issue for me.


This is an easy fix should work if you are authenticating, make sure you are passing the tokens correctly.


It work for me
change Twitter Authentication library
line 21:
public $host = “https://api.twitter.com/1/”;
public $host = “https://api.twitter.com/1.1/”;

new TwitterOAuth is :
class TwitterOAuth {
/* Set up the API root URL. */
public $host = “https://api.twitter.com/1.1/”;