Twitter Timeline broken?

Creating and modifying plugins.
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Twitter Timeline broken?

Post by Mangek »

I noticed the other day that my timeline wouldn't show up in the sidebar. It's normally set to use Javascript for output format, now all that's showing is the "follow @mangek009" image. If I instead switch to PHP output, I get the error message "Problem, accessing twitter at the moment.
Please reload later.."


Anyone else having these problems? Did Twitter change something in their API (or something?) that cause the plugin to break?
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Twitter Timeline broken?

Post by yellowled »

Mangek wrote:Did Twitter change something in their API (or something?) that cause the plugin to break?
I can't explain it very well technically, but yes, Twitter's new API changes limit the number of calls 3rd-party clients (like the sidebar plugin) quite drastically. Basically, it seems like Twitter is detemined to shut out as many of those as possible by March or May(?) 2013.

YL
thgeiges
Posts: 2
Joined: Sun Aug 15, 2010 12:11 am

Re: Twitter Timeline broken?

Post by thgeiges »

Anyone else having these problems?
Ich habe das gleiche Problem.
Gibt es schon irgendwo Hinweise, wie eine Lösung aussehen könnte?

Thomas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Timeline broken?

Post by garvinhicking »

Twitter basically broke their whole API to make it as hard as possible for Client and API developers to embed Twitter into other things.

I'm really mad at them.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Re: Twitter Timeline broken?

Post by Mangek »

yellowled wrote:..Twitter's new API changes limit the number of calls 3rd-party clients (like the sidebar plugin) quite drastically...

YL
garvinhicking wrote:Twitter basically broke their whole API to make it as hard as possible for Client and API developers to embed Twitter into other things...

Regards,
Garvin
Well that's a bummer. :( I guess there's no easy way to fix it either, since it'll require keys and what not, I suppose. :?
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Twitter Timeline broken?

Post by yellowled »

Mangek wrote:I guess there's no easy way to fix it
There's no way to fix it, period. This will limit all client-like applications, sidebar plugins as well as Twitter clients. Everything.

YL
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Re: Twitter Timeline broken?

Post by Mangek »

yellowled wrote:There's no way to fix it, period...
Ow. :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Timeline broken?

Post by garvinhicking »

Hi!

Well, the Javascript solution I think should still work. Supposedly they changed the JSON location URL, or some part of the format, making it impossible to render.

Someone would need to look at this, but at the moment I am still too pissed at twitter to be able to dive into this with a neutral, productive state of mind.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Timeline broken?

Post by garvinhicking »

Hi!

I just committed a hotfix to GIT. This allows to at least utilize the API again. The JS mode should work, based on per-user client.

The PHP mode has quite strict API call limits for the server, so we would need to switch to 0Auth authentication as soon as possible to bump the limit a bit more.

Until then, the JS mode is the recommended way to embed the twitter timeline in the sidebar, because this will then apply the API rate limit to the Visitor, not the server.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Mangek
Regular
Posts: 85
Joined: Tue Jun 24, 2008 1:08 am
Location: Sweden
Contact:

Re: Twitter Timeline broken?

Post by Mangek »

garvinhicking wrote:I just committed a hotfix to GIT. This allows to at least utilize the API again. The JS mode should work, based on per-user client.
Oh nice, thanks! :)

I've only really used the JS mode. Are/were they much different?
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: Twitter Timeline broken?

Post by blog.brockha.us »

I spend my weekend in upgrading the micro blogging plugin to Twitter API 1.1 (man, this rate limiting and so sucks!). The sidebar plugin and the main plugin should be done, I think. Where the plugins used old API calls (sidebar and tweetback stuff) it is optional (because you have to chosse the twitter acc to use for calls and rate limiting), calls that were already using OAuth are upgraded to 1.1 just like this.

Before releasing it to Spartacus I like to search for some brave betatesters. ;)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Timeline broken?

Post by garvinhicking »

Hi!

Please post a link, I would also like to test it on my blog.

Thanks,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: Twitter Timeline broken?

Post by blog.brockha.us »

The beta version is available at my testblog server at the moment.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: Twitter Timeline broken?

Post by blog.brockha.us »

I released a new version of the microblogging and oembed plugin to Spartacus. Both lifted to Twitter API 1.1. The beta tests looked good, hope everything will be fine on other blogs, too. :)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Twitter Timeline broken?

Post by garvinhicking »

blog.brockha.us wrote:I released a new version of the microblogging and oembed plugin to Spartacus. Both lifted to Twitter API 1.1. The beta tests looked good, hope everything will be fine on other blogs, too. :)
Code looks good (and complicated, though) :)

I haven't been able to try it out myself yet, but - will people who use the old version, do they need to setup something after the upgrade, or will it use existing tokens already existing?

If not, it might be nice to create a message on the backend (eventhook "backend_frontpage_display) with the plugin telling users to upgrade the OAuth, if some prerequisites are missing to use API 1.1?

Or does it simply use API 1.0 by default, and if users switch ti API 1.1 on their own, they will be able to enter their tokens?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply