Notice: I no longer maintain this site regularly. While some content is still relevant, most of it will be migrated to my company site soon. To see what I'm up to go to focuslabllc.com.


ER Tweet Me

Current Version: 1.1.1

14 comments   377 downloads

Added on November 14th by Erik Reagan

ER Tweet Me

This plugin was is the brainchild of Andy Marshall, @moogaloo, and was developed by me. It searches through the passed data for @ ("at mentions") and # ("hash tags"). When it finds them it automagically turns them into links to twitter user pages and hash tag searches. You can see it in action on the homepage of my website. I'm using it in conjunction with the Twitter Search plugin to show and add links to my latest tweet.

Features

  • Works with both EE 1.6.x and EE 2.x
  • Automagically turns @mentions and #tags into links to twitter
  • Can be used on single words or full text (see docs for usage)

Example Usage

This is part of the code I’m using on my homepage to produce my latest tweet and link up any @mentions and #tags

{exp:twitter_search:find q="from:erikreagan" rpp="1" lang="en" convert_url="yes" cache="yes" refresh="5" parse="inward"}
<p><span class="tweetl">&ldquo;</span>
   
{exp:er_tweet_me}{text}{/exp:er_tweet_me} <span class="tweetr">&rdquo;</span></p>
<
class="right"><a href="http://twitter.com/{twitter_username}">Follow me on twitter</a></p>
{/exp:twitter_search:find} 

Comments

Hmmm, sounds like what I could really use, but even when I use your exact sample, I’m getting no conversion. :-/ Am I missing a setting? I’m even using twitter_search, just like you.

Chris Kennedy on Nov 16th, 2009 at 4:56 pm

Hey Chris. Any chance I can peek at a live version of your test? Ping me at erik(at)erikreagan{dot}com :)

Erik Reagan on Nov 16th, 2009 at 4:58 pm

Never mind. I missed “parse=‘inward’”. Whoops. :D Works fantastic!

Chris Kennedy on Nov 16th, 2009 at 5:02 pm

Fantastic! Glad you like it. The parse parameter is for when you have a plugin within a plugin and the inner plugin should be parsed on the results of the outer plugin, if that makes sense.

Erik Reagan on Nov 16th, 2009 at 5:03 pm

Hey Erik - Should this work with twitter timeline as well?  Twitter Search isn’t pulling all accounts I try it with.

Boyink on Apr 7th, 2010 at 3:29 pm

Yes, it should (in theory) work as long as you remember the parse=“inward” piece that Chris and I discussed in the above comments. That said, I have not tested it with Twitter Timeline specifically.

Erik Reagan on Apr 7th, 2010 at 3:31 pm

Ah cool.  I thought Twitter timeline make links live as well?  Or was that an update I found in the forums somewhere…

Boyink on Apr 7th, 2010 at 3:42 pm

If Twitter Timeline makes links live then you probably wouldn’t want to (or have a need to) double up and use both. Thinking about that scenario, it might actually cause a syntax error.

Erik Reagan on Apr 7th, 2010 at 3:44 pm

Sorry…two nights of short sleep here leaving me a bit muddled.  What I’m looking for is @mentions, #hashtags, and links to all be clickable.  With twitter timeline and this I get the first two but not the third.  Do you get all 3 using twitter search?

Boyink on Apr 7th, 2010 at 3:47 pm

Of note: ER Tweet Me 1.1.1 was just released adding in a feature that automatically adds in a link to URLs in the tweet. Thanks Mike :)

Erik Reagan on Apr 8th, 2010 at 2:23 pm

Awesome, thanks Erik!

John on May 14th, 2010 at 4:09 pm

Hi Erik. Great add-on! Is there a way I can display the number of Twitter followers with this add-on? Thanks!

Adam on Jun 24th, 2010 at 11:28 pm

Thanks Adam. This add-on actually just makes links. It doesn’t even make any authenticated connection to twitter with your account. So it does not have the ability to display the number of followers.

Erik Reagan on Jun 24th, 2010 at 11:29 pm

Your Words of Wisdom

Remember me       Notify me of follow-up comments