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:
Warning: simplexml_load_file() [function.simplexml-load-file]: /home_directory/system_directory/cache/twitter_cache/1_user_timeline.xml:1: parser 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:1: parser 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!
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.
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.
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.
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.
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?
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…
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!
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.