application developed in django(python) which extracts images of specific hashtag from twitter and also analyze the images for their facial expression(anger, contempt, disgust, fear, happiness, neutral, sadness and surprise) using MICROSOFT emotion API.
- install TwitterAPI
pip install TwitterAPI
- app is developed in virtual env (name = vsnap),
python3 -m venv vsnap
- get consumer_key, consumer_secret, access_token, access_token_key from https://dev.twitter.com/
- get your microsoft subscription key from azure.microsoft.com
- host is set to
127.0.0.1:8000
, you can change according to your setup
After completing the setup, enter a string for example #hashtag
to get the images, initial hashtag is set to #katrinakaif
You can get all the images you searched by using hashtag keyword as #msdeep14