2 of 3
2
New Module: Twit-ee - show data from the Twitter API in EE templates
Posted: 27 May 2009 03:58 PM   [ Ignore ]   [ # 19 ]  
Grad Student
Rank
Total Posts:  71
Joined  11-19-2004

When Twitter goes down I see php error messages but the page still loads fine with the tweets blanked out. Make sure debugging messages are set to admin-only so it doesn’t interfere with normal readers.

Edit:

Conveniently, Twitter just went down. Here are my error messages:

Warningsimplexml_load_file() [function.simplexml-load-file]: /home_directory/system_directory/cache/twitter_cache/1_user_timeline.xml:1parser error Document is empty in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Warning
simplexml_load_file() [function.simplexml-load-file]in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Warning
simplexml_load_file() [function.simplexml-load-file]: ^ in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Warning
simplexml_load_file() [function.simplexml-load-file]: /home_directory/system_directory/cache/twitter_cache/1_user_timeline.xml:1parser error Start tag expected'<' not found in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Warning
simplexml_load_file() [function.simplexml-load-file]in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Warning
simplexml_load_file() [function.simplexml-load-file]: ^ in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 250
Notice
Trying to get property of non-object in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 430
Warning
Invalid argument supplied for foreach() in /home_directory/system_directory/modules/twitee/mod.twitee.php on line 430 
jonny.gotham - 27 May 2009 07:42 PM

George:

Thanks again for all the work with this module.

I have a question though.  Does the Twit-ee module have a fail-safe in place or a user adjustable timeout if Twitter goes down?  With the boom in Twitter popularity and maintenance issues it’s been having recently, I just wanted to know what will happen if Twitter itself fails.  At this point I know that invalid login information in the module will stop the entire site in its tracks, but will the same happen if the module cannot connect to Twitter?  If so, is there a way for me to prevent that?

I have noticed definite slow-downs and stalls after introducing the module, and while some is expected with the API call, I wonder if the stalls are related to the module not being able to connect to twitter and a long timeout delay?

Any information would be great!  Thanks again for the great module!

Profile
 
 
Posted: 08 June 2009 07:30 AM   [ Ignore ]   [ # 20 ]  
Summer Student
Avatar
Total Posts:  20
Joined  05-06-2007

Hi George,

Is there a possible functionality to display a list of “following” or “followers” (just like on twitter on the right corner with the small images)?

Regards,

Jort

 Signature 

oh is dat zo?

Profile
 
 
Posted: 20 June 2009 09:09 AM   [ Ignore ]   [ # 21 ]  
Grad Student
Avatar
Rank
Total Posts:  78
Joined  05-14-2004

How about date formatting.  I understand I can format it with php, but its pretty standard to enable EE style formatting in the tag itself.  Saves issues with php and such.

ie:

{created_at format="%H:%i on %l, %F %d, %Y "
 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 19 July 2009 03:42 PM   [ Ignore ]   [ # 22 ]  
Grad Student
Avatar
Rank
Total Posts:  78
Joined  05-14-2004

Is there a way to get it to ignore @replies?  I saw there is a way to get just replies, but timline can’t be formatted to ignore replies that I can find.

 Signature 

Far From Perfect
Broadcasting live from Iraq via High-speed Bytes/Second Internet!

Profile
 
 
Posted: 07 August 2009 06:29 AM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  384
Joined  03-17-2006

Nothing’s showing up in my template. Twitter username/password fine. I’m just using the example tags at the moment, but no joy…

{exp:twitee:public_timeline refresh="5" limit="10"}
{if count 
== 1}<ul>{/if}
    
<li>{text}</li>
{if count == total_results}</ul>{/if}
{
/exp:twitee:public_timeline} 

Hmmm… Any help much appreciated.

 Signature 

ExpressionEngine Pro Network Developer
http://www.designkarma.co.uk

ExpressionEngine Addon Developer
http://www.eevolution.co.uk

Profile
 
 
Posted: 12 August 2009 04:47 PM   [ Ignore ]   [ # 24 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  131
Joined  04-10-2006

Same here, nothing shows up in my templates. I’m using the example tags too.

 Signature 

Benjamin David | Duktee - Add-ons for ExpressionEngine : Video Player, Mini CP, Entry Layout, Site Switch, Google Rank Tracker, Google Translate, Downloader & more…

Profile
 
 
Posted: 14 August 2009 01:19 PM   [ Ignore ]   [ # 25 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  173
Joined  03-19-2008

...Nevermind…

Profile
 
 
Posted: 14 August 2009 06:57 PM   [ Ignore ]   [ # 26 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  173
Joined  03-19-2008

Got it installed and everything seem to be working, but I’m getting this error:

NoticeUndefined propertyTwitee::$convert_links in /home/seniorcl/public_html/systemadmin/modules/twitee/mod.twitee.php on line 629

Notice
Undefined propertyTwitee::$convert_links in /home/seniorcl/public_html/systemadmin/modules/twitee/mod.twitee.php on line 629 
Profile
 
 
Posted: 16 August 2009 07:21 PM   [ Ignore ]   [ # 27 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  180
Joined  06-28-2007

After playing with this module for months- I am unable to use it on a live site because of twitter’s unreliable connections.  If you were to implement a caching mechanism this module would be much more reliable.

 Signature 

twitter

Profile
 
 
Posted: 04 September 2009 06:09 PM   [ Ignore ]   [ # 28 ]  
Lab Assistant
RankRank
Total Posts:  174
Joined  04-22-2009

Notice: Undefined property: Twitee::$convert_links in /(...)/twitee/mod.twitee.php on line 629
Notice: Undefined property: Twitee::$convert_links in /(...)/twitee/mod.twitee.php on line 629

Everything else should be ok. So what can I do?

And how can I make links to my own twitter-Profile and to bitly working? Hashtags are linked. But shorten_urls don’t.

Profile
 
 
Posted: 07 September 2009 04:54 PM   [ Ignore ]   [ # 29 ]  
Summer Student
Total Posts:  11
Joined  03-19-2008

I have just started using this module today, and it works perfectly…half the time. For some reason, the tweets show up for about 15-30 minutes, and then vanish for about the same length of time before reappearing again. This cycle has continued since I installed. I’ve tried varying refresh times, but that didn’t seem to affect anything. I also tried a few JQuery plugins, and the would go down at exactly the same time as Twit-ee. The only solution that is showing up consistently is tapping directly into Twitter’s API, but I would prefer not to try to sort out all the parameters and details of that when Twit-ee is such a simple solution.

Does anyone have any ideas as to what might be causing this?

Profile
 
 
Posted: 11 September 2009 11:11 AM   [ Ignore ]   [ # 30 ]  
Summer Student
Avatar
Total Posts:  24
Joined  01-09-2008

I’m attempting to retrieve the status from friends using the {exp:twitee:friends} tag-pair, however the {text} variable keeps returning blank?  Am I using this correctly?

If everything works except the {text}, make sure that you don’t have nested your {exp:twitee:user_timeline} inside an {exp:weblog:entries} tag since that seems to overwrite the {text} variable…

 Signature 

Christofer
Republic Factory | @binarypassion

Profile
 
 
Posted: 11 September 2009 11:14 AM   [ Ignore ]   [ # 31 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  180
Joined  06-28-2007

This is working consistently for you guys?

 Signature 

twitter

Profile
 
 
Posted: 28 September 2009 08:42 AM   [ Ignore ]   [ # 32 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4003
Joined  05-13-2004

Everything seems to be working fine except that when I use this code:

{exp:twitee:user_timeline limit="5" refresh="3"}
                    {if count 
== 1}<ul>{/if}
                        
<li>{text}</li>
                    
{if count == total_results}</ul>{/if}
                  {
/exp:twitee:user_timeline} 

For some reason the opening and closing ul tags are not appearing. Any ideas on why this could be.

 Signature 

web: Caffeine Creations twitter @CS_sean

Profile
 
 
Posted: 30 September 2009 06:12 AM   [ Ignore ]   [ # 33 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4003
Joined  05-13-2004

solution to my post is to wrap the “count” in curly braces i.e. {count}

 Signature 

web: Caffeine Creations twitter @CS_sean

Profile
 
 
Posted: 17 October 2009 03:11 AM   [ Ignore ]   [ # 34 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  235
Joined  03-07-2006

I’m having the same problem as Ian Ebden and Benjamin David. Used a variety of code but nothing is showing up at all. In fact its actually stopping the rest of the page from displaying at all!

I bet its something simple!

 Signature 

www.mikeebee.com

Profile
 
 
Posted: 15 November 2009 10:11 PM   [ Ignore ]   [ # 35 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Hey George, Sean Smith found an error here, I’ll email you with some more details.

 Signature 
Profile
MSG
 
 
Posted: 02 March 2010 04:50 PM   [ Ignore ]   [ # 36 ]  
Summer Student
Avatar
Total Posts:  27
Joined  06-14-2008

Everything is working as expected - almost.

Hash tags are being converted to links, but the generated link includes the hash tag, instead of % 23 (space added to prevent auto-conversion) as is required by Twitter search.

I believe what is happening is the module is converting # to % 23, but EE is then converting it back to #. I’ve tried messing around with line 851 of mod.twitee.php, but haven’t had any luck.

Any thoughts on a fix?

 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
 
 
   
2 of 3
2