Skip to content

estherbester/Neighborhood-Food-Truck-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSTRUCTIONS
============
You must create a file called "tokens.py" and add these variables with their corresponding values:

'''
OAUTH_TOKEN= 'your_oauth_token, obtained from developer.twitter.com'
OAUTH_TOKEN_SECRET= 'your_oauth_token_secret'

CONSUMER_KEY='whatever_your_consumer_key_is'
CONSUMER_SECRET='ditto_for_secret'

username = 'list_owner's_twitter_username'
list_name = 'name_of_twitter_list'

LIST_URL = "http://api.twitter.com/1/%s/lists/%s/statuses.json?per_page=190" % (username,  list_name)
LIST_MEMBERS_URL = 'http://api.twitter.com/1/%s/%s/members.json' % (username, list_name)
'''

You should also create an empty file called "truck.cursor" in the same directory as truck.py. The function will write into the file the highest cursor number reached when updating the Twitter List Member stream, to reduce the number of API calls each time the function is run.



REQUIREMENTS
============
OAUTH MODULES TO ACCESS THE TWITTER API:
twitter-oauth
oauth2

OTHER MODULES:
rfc822
urllib, urllib2
django-tagging
django.core.cache

SAMPLE TEMPLATES:
Jquery 1.4.4+
Rikloma's Jquery Quicksearch https://github.com/riklomas/quicksearch



ABOUT
=====
Neighborhood Food Truck Tracker
me @ esthernam.com
2011

TODO LIST
=========
- allow you to add a food truck to your Twitter list via Django Admin
- speed up retrieval of truck tweets.
- iPhone style sheet
- Celery integration?

About

Django app for creating a food truck tracking website using Twitter Lists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages