Skip to content

Twitter stream cache that provides a JSON feed (by Government Executive)

Notifications You must be signed in to change notification settings

witoi/django-twitter-feed-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Feed Cache by GovExec

Dependencies

  • tweetstream
  • requests

Installation

Add twitter_feed_cache to the INSTALLED_APPS in settings.py:

# settings.py
INSTALLED_APPS = (
    ...
    'twitter_feed_cache',
    ...
)

Run:

$ python ./manage.py syncdb

Follow Users

Add FollowAccounts in the admin.

Collect Tweets

To collect tweets from the stream, run:

$ python ./manage.py update_twitter_feed_cache

To collect tweets from the stream as a daemon, run:

$ python ./manage.py update_twitter_feed_cache --start

To stop daemon, run:

$ python ./manage.py update_twitter_feed_cache --stop

About

Twitter stream cache that provides a JSON feed (by Government Executive)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published