Facebook Comment Downloader

by WSDOT

GitHub Readme.md

Facebook Comment Downloader

A small web app for downloading comments from a public facebook page post. Comment downloading from https://github.com/minimaxir/facebook-page-post-scraper

web app screenshot

Setup

pip install -r requirements.txt

Note: this will install Gunicorn and Gevent. These packages are not required if you choose a different server.

This application is set up to only download comments on posts from a specified public facebook page. You will need to register and configure a Facebook app. Once you've done this, fill out config.py with your information.

Deployment

This project is built with Flask. Hosting is up to you, the Flask webpage lists some options.

Click below to deploy the app with Gunicorn on Heroku.

Deploy

Development Setup

pip install -r requirements-dev.txt
Start Flask dev server

FLASK_APP=fb_comment_downloader_app.py flask run

Run tests

python test_validation.py. Currently, we only have a few tests for checking the facebook urls.

Contributing

Find a bug? Got an idea? Send us a pull request or open an issue and we'll take a look. You can also check the issue tracker.

License

MIT