Skip to content

kopalchakravarty/vouch_twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vouch Twitter

A web application built atop Django, that uses your twitter account for authentication, post which it can display user information, collect tweets on the authenticated user's timeline and list out the associated domains and usernames.
The website is live at http://kopal.pythonanywhere.com/

Requirements:

Python(>=3.0)
Django(>=3.0)
Tweepy: Python library to access the Twitter API
tld: Python library to extract domain from a url

Instructions for use:

  1. Clone the repository https://github.com/kchakravarty/vouch_twitter.git
  2. Add your consumer key and your secret key in utils.py (vouch_twitter/twitter_login/login_page/utils.py). Visit https://developer.twitter.com/en to register your app. Be sure to mention a callback url in the app configuration.
  3. Switch to the twitter_login directory(cd vouch_twitter/twitter_login). Run on localhost using python3 manage.py runserver.

Logistics:

The web application uses Tweepy.OAuthHAndler() for authentication, post which the application is redirected to the callback url.
User information is accessed using the API.me() endpoint , and the timeline using the API.home_timeline() endpoint http://docs.tweepy.org/en/latest/api.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published