Welcome to the Fake News Detector project!
This tool fetches news articles in real-time (with a 12-hour delay on the free GNews API plan) based on a user-defined topic and displays detailed information about each article. It can be easily extended to classify news as real or fake using machine learning models.
- β Fetches news articles using the GNews API (100 Requests per day allowed)
- β Fetches social media posts using the Facebook API , Instagram API , Twitter API , Reddit API
- β
Displays detailed information about each article:
- Published Time
- Title
- Description
- Image URL
- Content Snippet
- Source Name, URL & Country
- Article URL
- Go to the GitHub page of this project:
https://github.com/kuheli31/Fake-News-Detector - Click on the Fork button (top-right corner). This will create a copy of the repository under your GitHub account.
- Open GitHub Desktop, Git Bash, or your preferred Git client.
- Clone your forked repository to your local computer. For Git Bash, run:
git clone https://github.com/<your-username>/Fake-News-Detector.git- Always make changes in a new branch instead of main.
- Name the branch with your name or feature, for example:
git checkout -b kuheli-branch- Open the file
Fake_News_Detection.ipynbin Google Colab. - Make your improvements, such as:
- Adding new features
- Fixing bugs
- Improving documentation or examples
- Enhancing visualizations or outputs
- After making your changes, save the notebook in Google Colab.
- Then, save a copy back to this GitHub repository folder directly from Google Colab:
- Click on File β Save a copy in GitHub.
- Choose your forked repository and the branch you created (e.g.,
kuheli-branch). - Add a descriptive commit message about your changes.
- Click OK to push the changes to your GitHub fork.
- Commit your changes with a clear message explaining what you did:
git add .
git commit -m "Added feature X / Fixed issue Y / Updated README"git push origin kuheli-branch- Go to your forked repository on GitHub.
- Click Compare & pull request.
- Add a descriptive title and explain your changes in detail.
- Submit the pull request. Your changes will be reviewed and merged.