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
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
sweet, this is just what i was looking for.
Brilliant. Thank you!
Tori
I responded to your post in the EE Forums
http://expressionengine.com/forums/viewthread/102415/
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