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

David Rencher • lumis.com