Twit-ee fetches data from the Twitter API and allows you to display it in your ExpressionEngine templates. A variety of tags are available allowing you to show your own tweets, your friends tweets and more.
System Requirements:
* ExpressionEngine Version 1.6.x
* PHP 5.x.x
* cURL support
Example:
The following will show the authenticating user’s 10 most recent favorite tweets with a cache time of 30 minutes
nice addition. I was able to install the module, so no problem regarding that point (PHP 5.1.x, EE 1.6.7).
However, I have a small issue I already had with the the twitter_search plugin: The output is broken if the option “Enable GZIP Output?” is set to yes in the output and debugging preferences of EE.
In addition, it would be great if the module would be MSM friendly - e.g. store different twitter account details per MSM site (or allow to overwrite the default setting inside the EE tag).
BTW: I tried to use the project wiki but it seems so need some account edit a page there. Using the forums is less troublesome in that case
For me, I would need two things from this module - if it had them, I’d pay for it:
1) MSM compatibility. At this point, anything released for EE should be MSM compatible. I can’t consider using anything that isn’t.
2) The ability to display replies to a Tweet, preferable within a certain timeframe. So for example say I post an entry, which appears on Twitter. I’d like to be able to tell this module to pull in any @ replies that have come in from within the first, say, 20 minutes. Then I should be able to manually delete any that aren’t truly a direct reply to the entry. Kind of like what you see here: http://chris.pirillo.com/is-amazons-kindle-on-fire/ - that is done by way of Wordpress plugin though. Can Twit-ee already do this?
I’ve installed the module and am getting this error when adding to my template.
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mysite/public_html/sys/modules/twitee/mod.twitee.php on line 28
I was seeing the same error and I’m running PHP 5.1.6 (hosted at EngineHosting). It was sporadic though and while troubleshooting, I found that occasionally refreshing the PHP Info Utility page, it would instead show that I was running PHP Version 4.3.9
I have a note in with Nevin and crew to determine what’s going on.
When PHP 5.x is running, the module is a wonderful addition. Thanks for your work on this!
Update: It turns out that my site is on a cluster at EH that’s in the middle of an upgrade from PHP 4.x to PHP 5.1.6. It should be completed tonight and resolve the module errors I’m seeing.
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? In the end, I basically want to get a list of the authenticated user’s status and the status of the friends, so I’m using the following:
There’s a minor update available to this module allowing a separate account for MSM sites. To enable MSM compatibility please upload the new files then uninstall and reinstall the module. The download is available from Github
rick.prince wrote
How can I get links to link? I’m just getting plain text outputs, but I’d like to ensure when I post a link users can actually click it.
This is a feature enhancement - I’ve filed this on the github site.
jonny.gotham wrote
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?
Yes it does look correct and I can replicate this as a bug. I have filed this as an issue and will address it in an upcoming build.
You can track the status of bugs and feature requests on the Github issues page
But what if I’m attempting to only get the latest status from each friend, as in 1 status per friend being followed, rather than the stream of the latest 20. That was why I went with using :
{exp:twitee:friends} {/exp:twitee:friends}
As the description says that it “Returns the authenticating user’s friends, each with current status inline. They are ordered by the order in which they were added as friends.” So what I’m attempting to display is the friend and current status, 1 status per. Is that possible?
This tweet cut off right before the ampersand and gives this error message:
Warning: Twitee::_parse_status() [function.Twitee--parse-status]: unterminated entity reference Osugi Ren as "shockers": <a href="http://bit.ly/2gU1O">http://bit.ly/2gU1O</a> in /home/myacct/public_html/mydir/systemfolder/modules/twitee/mod.twitee.php on line 433
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!