Facebook messenger groups have the ability to reach 100+ unread messages pretty quickly. At that point, you have to make a decision: miss out on the messages and risk missing an awesome discussion, or read every single line and risk oportunity cost. Now you don't have to make that decision! MegBot allows you to automate your Facebook message group summaries.
MegBot itself is an object that allows you to interface with Facebook messenger through your own account.
The example, megbotex.py, summarizes the past 50 messages the group said. It does this either every 50 messages, or when someone in the chat group calls it with "@megbot". It also draws attention to whoever you want by responding to your message of "@"xyz with a capitalized version of the word attached to the @.
- Install PhantomJS. Note: It is available via
brew install phantomjs
port install phantomjs
- Create a python env if you want, or use your own and then
pip install -r requirements.txt
To use the example:
python megbotex.py [facebook email] [facebook password] [message ID]
The information in your chat is stored in an array of strings, and therefore does not persist in this example. Please be aware of privacy concerns if you decide to change this feature.
Feel free to send a pull request for added functionality to MegBot or any use cases you want to share.
PM's are private. Therefore, you should have full consent of everyone in your group to opporate MegBot. Please be considerate of others.