A simple Python script that fetches users' comments, profile links, and direct comment links from a public Facebook post.
- Fetches all comments from a specified Facebook post
- Retrieves each user's profile link
- Retrieves direct links to each comment
- EditThisCookie Fork Extension — for exporting Facebook cookies
uv— for managing dependencies and running the script- Python 3.8+
Use the EditThisCookie Fork extension to export your Facebook cookies as facebook.json, and place it in the root directory of the project.
If uv is not installed yet, run:
pip install uv
uv install
uv syncPOST_URL = "https://www.facebook.com/your_post_url_here"uv run main.py