Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

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

Open
benglass opened this issue Jun 12, 2013 · 8 comments
Open

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

benglass opened this issue Jun 12, 2013 · 8 comments

Comments

@benglass
Copy link

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
Copy link

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

@benglass
Copy link
Author

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
Copy link

Same for me, just did that. Thanks!

@abenbachir
Copy link

works for me too, thx

@stof
Copy link
Member

stof commented Jun 15, 2013

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)

@Barno
Copy link

Barno commented Jun 21, 2013

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

@stof
Copy link
Member

stof commented Jun 21, 2013

yes I do

@Molkobain
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants