Abraham Twitteroauth with 1.1


#1

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


#2

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


#3

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.


#4

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


#5

Don have live link all links are die…


#6

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


#7

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


#8

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


#9

It work for me
change Twitter Authentication library
Twitter/twitteroauth.php
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/”;

}