A simple Python3 Selenium script that downloads conversations from Facebook Page Inbox. It hooks after normal login and usage to avoid Facebook blocks.
- Install requirements with
pip install -r requirements.txt
- Download Chromedriver and add it to PATH.
- Run
aim.py
and go to a Facebook Page Inbox conversation. - Copy the values of Command Executor URL and Session ID.
- Run
get_conversations.py
and enter the copied values. - Scroll a conversation up and down to load it completely.
- Enter
get
to parse conversation and save it to a timestamped file within theconversations/
folder.
- Modifiable User Agent string
- Automatic scrolling
- Automatic download of all conversations in an inbox