A Python application that searchs and prints Twitter tweets with the given hashtag.
Application first connects to Twitter Api and fetchs matched tweet datas.
Then clones the template main.html
and replaces tags with returning data from Api.
##Installation and Run
$ git clone git://github.com/s/TwitterPrinter.git ~/TwitterPrinter
$ cd ~/TwitterPrinter
$ python app.py
##Skeletal
Api.py
: Handles Twitter Api connection and generates html files.assets
: Contains css and font files.templates
: Contains original templates.views
: Contains generated views. Generated views will be in the folder for e.g views/#TwitterPrinter
##Configuration (config.yaml)
consumerKey
: Instagram api consumer key.
consumerSecret
: Instagram api consumer secret.
accessToken
: Instagram api access token.
accessTokenSecret
: Instagram api access token secret.
delayTime
: Delay time between each api request. Default: 30
(seconds)
pageTitle
: Page title of generated html file. Default: InstagramPrinter
searchHashtag
: Hashtag to search. Default:TwitterPrinter
templateFileName
: Name of template file. Default: main.html
##View Template Tags:
{$title}
: Page Title
{$photoUrl}
: Url of photo
{$photoWidth}
: Width of photo
{$photoHeight}
: Height of photo
{$postOwnerAvatar}
: Avatar of post owner
{$postOwnerUsername}
: Screen username of post owner
{$postOwnerName}
: Name of post owner
{$postDate}
: Create date of post
{$photo} .. {/$photo}
: Media block
##Screen Shots
##TO-DO ->Log files.