Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A GoogleAppEngine application implementing twitter hash tag searches per EpicColorado
branch: master

This branch is even with Java1Guy:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
app.yaml
cron.yaml
geocode.py
index.yaml
model.py
twitagsearch.py
twitter.py
twitter_test.py

README

/search is setup as a cron task that runs every 2 minutes.
It's mapped to the twitagsearch.SearchPage RequestHandler, which calls twitagsearch.Search().
Which calls api.Search (added by me to twitter.py).
I also just added code to set the User-Agent,
which apparently ups your search limit (otherwise app engine IPs get rate limited
 fairly often), haven't deployed to see if that helps.

So, to use this code yourself:

- put valid strings in USERNAME, PASSWORD, USER_AGENT in twitagsearch.py (create a new twitter account).
- tweak twitagsearch.Search() to be what you want to search for
    (http://apiwiki.twitter.com/Twitter-Search-API-Method:-search)
- Create a new model.py that has objects for what you want to store.
- Create new pages for retrieving the data.
Something went wrong with that request. Please try again.