{ "info": { "author": "Francois Constant", "author_email": "francois.constant@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-twitter-feed\n===================\n\nReally simple app to show a Twitter feed in your Django application.\n\nIt's using a a task to update the feed regularly.\n\n\nSet-up:\n-------\n\n1.Add it to your \"INSTALLED_APPS\" settings:\n\n INSTALLED_APPS = (\n ...\n 'twitter_feed',\n ...\n )\n\n2.Add your twitter account API access in the settings like this:\n\n TWITTER_FEED_CONSUMER_PUBLIC_KEY = '...'\n TWITTER_FEED_CONSUMER_SECRET = '...'\n TWITTER_FEED_OPEN_AUTH_TOKEN = '...'\n TWITTER_FEED_OPEN_AUTH_SECRET = '...'\n\n3.Run `python manage.py migrate` (if you use South) or `python manage.py syncdb`\n\n4.Run the following command lines to test your Twitter credentials and save the initial feeds:\n* `python manage.py update_tweets`\n* `python manage.py show_tweets`\n\n5.In a template, show the latest 10 tweets for example:\n\n {% load twitter_feed_tags %}\n {% latest_tweets 10 %}\n\n6.Customise the template - simply create a copy of `twitter_feed/latest_tweets.html` and edit it.\n\nFor example:\n\n\t{% load twitter_feed_tags %}\n\n\t
{{ tweet.content|linkify_twitter_status|urlize|url_target_blank }}
\n \t{{ tweet.published_at|date:\"F d, Y\" }}
\n\t