Board index Plugins Twitter Timeline broken?

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

Postby Mangek » Tue Oct 16, 2012 9:40 pm

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?

User avatar
yellowled
Regular
 
Posts: 6815
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany

Postby yellowled » Wed Oct 17, 2012 7:59 am

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

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

Postby thgeiges » Wed Oct 17, 2012 9:17 am

Anyone else having these problems?


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

Thomas

User avatar
garvinhicking
Core Developer
 
Posts: 29970
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Oct 17, 2012 10:25 am

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/

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

Postby Mangek » Wed Oct 17, 2012 12:53 pm

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. :?

User avatar
yellowled
Regular
 
Posts: 6815
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany

Postby yellowled » Wed Oct 17, 2012 5:29 pm

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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

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

Postby Mangek » Wed Oct 17, 2012 7:52 pm

yellowled wrote:There's no way to fix it, period...
Ow. :(

User avatar
garvinhicking
Core Developer
 
Posts: 29970
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Oct 18, 2012 8:51 am

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/

User avatar
garvinhicking
Core Developer
 
Posts: 29970
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Oct 18, 2012 11:24 am

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/

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

Postby Mangek » Thu Oct 18, 2012 7:03 pm

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?

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Sun Oct 21, 2012 4:23 pm

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/

User avatar
garvinhicking
Core Developer
 
Posts: 29970
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Mon Oct 22, 2012 10:38 am

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Mon Oct 22, 2012 11:08 am

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Wed Oct 24, 2012 11:36 am

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/

User avatar
garvinhicking
Core Developer
 
Posts: 29970
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Oct 24, 2012 12:18 pm

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/

Next


Return to Plugins

Who is online

Users browsing this forum: No registered users and 5 guests

cron