FOSTwitterBundle icon indicating copy to clipboard operation
FOSTwitterBundle copied to clipboard

OAuth still using 1.0 api URLs even though they are deprecated

Open benglass opened this issue 11 years ago • 8 comments

Perhaps I am missing something but the kertz/twitteroauth library this bundle uses is still using the twitter 1.0 api calls. These stopped working as of today.

The original abraham/twitteroauth library is updated (the kertz fork no longer seems to be maintained). Is it possible to switch to that?

benglass avatar Jun 12 '13 14:06 benglass

Running into some issues after the twitter API was disabled - any suggested fixes?

lfbrandao avatar Jun 12 '13 23:06 lfbrandao

My temporary fix was to edit twitteroauth.php and update the URL. Its fixed on abraham/twitteroauth

https://github.com/abraham/twitteroauth/blob/master/twitteroauth/twitteroauth.php

benglass avatar Jun 12 '13 23:06 benglass

Same for me, just did that. Thanks!

lfbrandao avatar Jun 12 '13 23:06 lfbrandao

works for me too, thx

abenbachir avatar Jun 14 '13 03:06 abenbachir

I'm suggesting to deprecate this bundle altogether in favor of HWIOAuthBundle.

FOSTwitterBundle implements 2 features only:

  • OAuth 1 login for Twitter (supported by HWIOAuthBundle as any other OAuth 1 or 2 provider)
  • TwitterAnywhere login (which has been shutdown by Twitter)

stof avatar Jun 15 '13 10:06 stof

@stof advice you to use HWIOAuthBundle instead of FOSTwitterBundle + kertz/twitteroauth ?

Barno avatar Jun 21 '13 15:06 Barno

yes I do

stof avatar Jun 21 '13 15:06 stof

If you don't want to change the two bundles, a dirty fix is to add a line in your TwitterProvider's __construct() :

$this->twitter_oauth->host = 'https://api.twitter.com/1.1/';

But as you said, they are not longer supported so, we are better of with another bundle. =/

Molkobain avatar Jul 31 '13 15:07 Molkobain