Skip to content

KhushwantR/Twitter-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Project using Tweepy

Website URL: https://twitter-links.herokuapp.com/

This Django based Web application uses Twitter Api Tweepy for authentication and also provides the following functionalities:

  1. Shows all the Tweets of User's home timeline that have URL in them, after the user sign-in.
  2. Computes and shows the Top Twitter user who has shared the most links based on the home timeline of the users who signed in on this app.
  3. Computes and shows a list of Top Domains which were shared by users based on the home timeline of the users who signed in on this app.

Tech Stack Used

  1. Python 3.8.2
  2. Django 3.1.2
  3. HTML 5
  4. CSS 3
  5. PostgresSQL
  6. Tweepy API

Steps to Compile and Run the App

  1. Simply Download the ZIP file of the code from github or clone this repository using the Command
   git clone https://github.com/KhushwantR/Twitter-Project
  1. Install Pip if not installed already

  2. Create a virtual environment and activate it.

  3. Create a Twitter Developer account and create a project on it to generate Consumer_key and Consumer_secret and add them in the project/views.py file.

  4. Create a Database and replace the credentials in the project/settings.py file in the Database section with the proper breakdown.

  5. Install all the required packages using the command

   pip install -r requirements.txt
  1. Replace the SECRET_KEY in the project/settings.py file with a key of your choice.

  2. Migrate the tables to the database you created using the command:

   python manage.py migrate
   python manage.py makemigrations
  1. Finally you are ready to run this app locally, use the command:
   python manage.py runserver
  1. Copy and paste the url from the terminal to your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published