1 of 2
1
Twitter Timeline Plugin and (n)Oauth
Posted: 31 August 2010 02:23 PM   [ Ignore ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  3097
Joined  01-07-2008

Today, the team at Twitter is shutting down their basic authentication service. For all you active tweeters, this is a good thing. Third party services will stop asking for your login information. You will finally be able to change your password in a single place. And you can put a definitive, one click, end to enthusiastic spamming on your behalf. I for one, welcome that change.

We’ve updated the Twitter Timeline plugin so it works seamlessly with Twitter’s new requirements and meets the needs for the majority of the Community. For example, if you are displaying a user or public timeline, and the feed you are using is not private, all the updated plugin needs is a screen name and you’re good to go.

Please note that if you are using the Twitter Timeline plugin, the update is required. The old version will silently stop working.

Happy Tweeting!

 Signature 
Profile
MSG
 
 
Posted: 31 August 2010 03:08 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Avatar
Total Posts:  27
Joined  06-14-2008

Its awesome that Oauth is now being used, but I have to say, finding this out by having all EE sites using Twitter Timeline just stop showing tweets was crappy.

 Signature 

Design Litmus : A blog about design, clients, running small studios, and all the tests that go along with it. Built on EE.
Collaboratory : A creative environment that encourages open minded individuals to explore innovative design solutions. Built on EE.

@Artletic - where I make with the tweets

Profile
 
 
Posted: 31 August 2010 03:18 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  811
Joined  01-07-2003

Thanks for getting the updated plugin out even before any of my clients called to let me know about their broken feeds. I think I just updated that last one of our client’s sites and both the 1.6.x and the 2.1.x versions of the plugin worked as advertised! Thanks for the speedy solution.

 Signature 

learn more at eeSiteKit.com


NetRaising | a web services company


Custom Designed Dynamic Websites for Mission Driven Organizations

Profile
 
 
Posted: 31 August 2010 03:34 PM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  130
Joined  07-30-2006

Agreed, thanks so much for getting this fixed. Would have been nice a day earlier before I was freaking out, but still smile And it’s rock solid. Very nice, thanks guys.

 Signature 

Jonathan Longnecker or Nate Croft
FortySeven Media

Profile
 
 
Posted: 31 August 2010 03:39 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  206
Joined  07-28-2008

Anyone have the code bit for {status_relative_date} so that it doesn’t show the long posted date? Meaning instead of “5 days, 1 hour, 55 minutes” ... something like “An hour ago” or “A month ago”.

 Signature 

Chris Arnold :: Limber Creative

Profile
 
 
Posted: 31 August 2010 04:00 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Avatar
Total Posts:  27
Joined  06-14-2008

FWIW, here’s the basis for what the Twit-ee module was doing to get the nice relative date format: http://stackoverflow.com/questions/11/how-do-i-calculate-relative-time/501415#501415

I don’t have the chops to make that happen for this plugin, but if someone else does…that’d be delightful.

 Signature 

Design Litmus : A blog about design, clients, running small studios, and all the tests that go along with it. Built on EE.
Collaboratory : A creative environment that encourages open minded individuals to explore innovative design solutions. Built on EE.

@Artletic - where I make with the tweets

Profile
 
 
Posted: 31 August 2010 04:25 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  3097
Joined  01-07-2008

A devot-ee search for relative date also reveals a handful of potential candidates. You could try passing {created_at} to one of those plugins.

 Signature 
Profile
MSG
 
 
Posted: 31 August 2010 04:35 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Avatar
Total Posts:  27
Joined  06-14-2008

@Pascal - That’s a great idea!

The Social Date plugin looks like it’d be perfect, but it is 1.x compatible only. I’m not sure how to convert 1.x plugins to 2.x, but I might take a stab at it later.

 Signature 

Design Litmus : A blog about design, clients, running small studios, and all the tests that go along with it. Built on EE.
Collaboratory : A creative environment that encourages open minded individuals to explore innovative design solutions. Built on EE.

@Artletic - where I make with the tweets

Profile
 
 
Posted: 31 August 2010 10:34 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  41
Joined  12-16-2009

Is it possible to combine feeds from 2 or more twitter account with this plugin
like screen_name=“screen_name1|screen_name2|screen_name3”  ?

Profile
 
 
Posted: 01 September 2010 06:10 AM   [ Ignore ]   [ # 9 ]  
Summer Student
Avatar
Total Posts:  8
Joined  07-19-2006

Would it be possible to ignore mentions/replies (@‘s) ? I don’t need people to follow my conversations on my website.

Profile
 
 
Posted: 01 September 2010 09:32 PM   [ Ignore ]   [ # 10 ]  
Summer Student
Avatar
Total Posts:  28
Joined  05-14-2004

the new update works at first, then errors out on line 394. I cannot keep it working for more than 5 minutes… Any thoughts?

Warning: Invalid argument supplied for foreach() in /www/server/public_html/ee/system/plugins/pi.twitter_timeline.php on line 394

using EE1.6.x

 Signature 

danielphillip.com

Profile
 
 
Posted: 02 September 2010 10:05 AM   [ Ignore ]   [ # 11 ]  
Grad Student
Rank
Total Posts:  47
Joined  02-04-2010

We had this throw an error yesterday because we hit the rate limit so it was trying to loop through elements that didn’t exist.

It would be great if getting rate limited just made the plugin perform the same as if twitter were offline.

 Signature 

http://josephwensley.com | http://exclaimsolutions.com

Profile
 
 
Posted: 02 September 2010 05:23 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  566
Joined  06-13-2006
daniel090 - 02 September 2010 01:32 AM

Warning: Invalid argument supplied for foreach() in /www/server/public_html/ee/system/plugins/pi.twitter_timeline.php on line 394

I’m getting this exact same error. I’m using EE 1.6.9.

 Signature 

Firespring - Senior Web Developer

Profile
 
 
Posted: 03 September 2010 06:04 AM   [ Ignore ]   [ # 13 ]  
Lab Assistant
RankRank
Total Posts:  134
Joined  05-26-2003

ver 1.2 allowed the parameter type=“friends”. Is this no longer available in 1.3?

cheers

 Signature 

ExpressionEngine 2.1.3 - Build:  20101220

Profile
 
 
Posted: 03 September 2010 03:27 PM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  236
Joined  12-09-2008

Great job guys!

 Signature 

Montreal web design | twitter

Profile
 
 
Posted: 07 September 2010 10:23 AM   [ Ignore ]   [ # 15 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  180
Joined  06-27-2007

The 1.x download still says its version 1.3 should it work anyway?  It seems like its not updated on my end.

 Signature 

twitter

Profile
 
 
Posted: 07 September 2010 10:33 AM   [ Ignore ]   [ # 16 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11294
Joined  06-03-2002

Yes, 1.3 is the incremented version for EE 1.x, and 1.4 is the version number for EE 2.x; the EE 2.x version of the plugin already had a 1.3 update for its conversion to EE 2.x.

 Signature 
Profile
MSG
 
 
Posted: 08 September 2010 03:58 AM   [ Ignore ]   [ # 17 ]  
Grad Student
Avatar
Rank
Total Posts:  48
Joined  10-03-2006

The plugin doesn’t work when you’re on a shared server. I’m getting the following error (echo $rawxml in pi.twitter_timeline.php):

Rate limit exceededClients may not make more than 150 requests per hour

From def.twitter.com:

- Anonymous calls are based on the IP of the host and are permitted 150 requests per hour.
- OAuth calls are permitted 350 requests per hour.

Is there have a solution for this problem?

Profile
 
 
Posted: 10 September 2010 02:57 PM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  219
Joined  10-24-2006

Looks like authentication was just removed from the Twitter Timeline all together.  Is there an interest in EllisLab to make the Twitter Timeline plugin authenticate via OAuth?  If not, I may take a stab at it myself since we have a client that needs authentication to work again (for their friends timeline).

Thoughts?

 Signature 

dabbledoo.com | .(JavaScript must be enabled to view this email address)

Member of the EE Pro Network

Profile
 
 
   
1 of 2
1