Does anyone know if the Twitter oAuth PHP library https://github.com/abraham/twitteroauth will be updated to support Twitter's 1.1 API? I reached out to him but perhaps someone will fork it and update it as it doesn't appear to have been touched in quite some time.
If not, perhaps some of us who utilize it may want to band together to fork it? Though if Abraham is working on it, that would be awesome.
Replies
you can change in file: twitteroauth.php
public $host = "https://api.twitbridge.com/1/";
to:
public $host = "https://api.twitbridge.com/1.1/";
but ... if i use the /1.1/ URL
i get in HEADER: [x_warning] => Invalid OAuth credentials detected
???
but results 're there ?
Are you using an access token with your requests? Make sure you're using an access token and that your system clock is sync with ours.
The best way to update to the v1.1 is the following:
That way you don't have to edit twitteroauth.php.
So what exactly are you supposed to replace the dots with on line 1?
Oh, the keys right?
Thank you very much, Abraham! Finally solved it with this line!