FriendsOfSymfony / FOSTwitterBundle

UNMAINTAINED. Please use HWIOAuthBundle as a replacement for FOSTwitterBundle.
http://friendsofsymfony.github.com/
146 stars 38 forks source link

OAuth still using 1.0 api URLs even though they are deprecated #60

Open benglass opened 11 years ago

benglass commented 11 years ago

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?

lfbrandao commented 11 years ago

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

benglass commented 11 years ago

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

lfbrandao commented 11 years ago

Same for me, just did that. Thanks!

abenbachir commented 11 years ago

works for me too, thx

stof commented 11 years ago

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

FOSTwitterBundle implements 2 features only:

Barno commented 11 years ago

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

stof commented 11 years ago

yes I do

Molkobain commented 11 years ago

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. =/