ExpressionEngine Twitter Search

Thursday April 23 2009
EE Twitter Search This ExpressionEngine plug-in allows you to search Twitter by various different operators or by Twitter Geo Location


{exp:twitter_search:find} Params
q="" Returns tweets that match a specified query. You can use a variety of search operators in your query.
  • Find tweets containing a word: q="lumis"
  • Find tweets from a user: q="from:lumis"
  • Find tweets to a user: q="to:lumis"
  • Find tweets referencing a user: q="@lumis"
  • Find tweets containing a hashtag: q="#junkie"
  • Combine any of the operators together: q="moped :)"
optional Params
  • lang="en" restricts tweets to the given language, given by an ISO 639-1 code
  • rpp="" the number of tweets to return, up to a max of 100
  • since_id="" returns tweets with status ids greater than the given id
  • convert_url="yes" converts url's in the {text} into a link
  • word_censoring="off" turns off the ee badword filter
  • cache="yes" refresh="5" cache tags output. (please use this)
  • geocode="" returns tweets by users located within a given radius of the given latitide,longitude,radius based on there profile location e.g. geocode="30.686935,-88.071213,25km" q="" is not necissarily required if you use this
vars
  • {text}
  • {to_user_id}
  • {from_user}
  • {location} only works with geocode=""
  • {id}
  • {from_user_id}
  • {iso_language_code}
  • {profile_image_url}
  • {relative_date}
  • {created_at format="%D, %M %d %Y - %g:%i %a"}
  • {switch="one|two"}
  • All vars can be used as conditionals.
example


Code Sample


Download: ExpressionEngine Twitter Search 0.9.9
Visit the EE Forum for Questions

sweet, this is just what i was looking for.

Posted from: Grand Rapids, MI : posted on Thu April 02 2009 9:42 am
Daniel Hunt Says:

Brilliant. Thank you!

Posted from: Wilmington, Del. : posted on Sat February 21 2009 12:10 pm
David Says:

Tori

I responded to your post in the EE Forums
http://expressionengine.com/forums/viewthread/102415/

posted on Tue January 27 2009 7:21 pm
Tori Sheppeard Says:

All of a sudden the twitter search on the site I’m working on just quit working.  After messing with it I realized that it will work with other settings.  The problem appears to be only when attempting to pull only tweets from a particular using.. using this q=“from:username” ... I have been able to get it to work again by changing that to q=“username” but for this particular site we only want to pull the latest tweet from this user.  This worked just fine yesterday.  In fact nothing changed in the code, it’s very odd.  It’s like it just stopped working using that particular param.  I even tried using yours q=“from:lumis” to make sure it wasn’t specific to the other username I’m using and it wouldn’t work with yours either.  I wonder if there is some sort of date restriction on it?  I’m honestly confused.  Here is the exact tag I’m using.. {exp:twitter_search:find q=“from:lumis” rpp=“5” lang=“en” convert_url=“yes” cache=“yes” refresh=“5”} .. Any ideas?

Thanks,
Tori

Posted from: Atlanta, GA : posted on Tue January 27 2009 9:17 am
Post a Comment:
Name:


Email Address:


Location:


Web Site Address:


Comments:


Remember my personal information

Notify me of follow-up comments?

Please enter the word you see in the image below:

my photos View All »
Mobile Christmas SkyLine
bright shoreline
Kayaking Mobile Bay
Crewe of Columbus
The Birds
moon piers
U.S.S. Alabama Christmas
Middle Bay Lighthouse
Fairhope Pharmacy
Popular
ExpressionEngine
 
lumis.com David Rencher Photos Photography Fairhope Mobile
  David Rencher