torsteoe avatar

Transform facebook messages to wordclouds (Python)

torsteoe

Published: 07 Jan 2020 › Updated: 07 Jan 2020Transform facebook messages to wordclouds (Python)

Transform facebook messages to wordclouds (Python)

I made a python program that generates a wordcloud out of your facebook messages (examples below). Go to https://github.com/torsteoe/messenger-wordclouds for easy instructions on how to run the program. Please don't hesitate to contact me if you have any questions or comments regarding the script.

Short summary

  1. Download facebook message data from facebook.com
  2. Install requirements and run script

Examples of generated "random" wordclouds

Most frequent words

content.png

Messages per person

senders.png

Imported libraries: wordcloud, pillow, numpy, stop_words, multidict, json, random, os

I also recommend looking at the script that inspired me: https://github.com/mrgarrett45/songclouds, MrGarrett45 has written a script that generates wordclouds from lyrics.

Leave Transform facebook messages to wordclouds (Python) to:

Written by

Read more #programming posts


Best Posts From torsteoe

We have not curated any of torsteoe's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From torsteoe