This tool allows you to scrape Facebook Posts based on search queries. You can use the end results for NLP tasks.
You will need python 3+.
First clone this repo, then navigate to the folder and install the requirements
git clone https://github.com/AbderrahimAl/Facebook-Scraper.git
cd Facebook-Scraper
pip install -r requirements.txt
Input name | meaning |
---|---|
Username | Your Facebook email |
Password | Your Facebook password |
number_posts_max | How many posts do you want to scrape |
number_comments_max | How many comments do you want to scrape |
This educational tool probably violates Facebook terms of service. Use at your own risk.
We are not responsible for any situations including:
- The potential for your Facebook account to undergo Checkpoint as a result of repeated or rapid actions.
- Problems about your privacy while using IP hiding techniques or any malicious scripts.
That's all, thank you for your attention, please the repo to show your support.