Skip to content

maximilianallan/word-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

word-cloud

About

Create pretty visual word clouds using PyTagCloud from a Facebook message history.

Installation

  1. Install PyTagCloud.

  2. Install the Python SDK for Facebook. You need to use my fork as I added some paging functions that were not present in the old sdk.

  3. Get a Facebook access token with permission to read the user's inbox from here. Eventually I will sort of Facebook permissions properly. Save this in the root project directory as access_token.txt.

  4. Run as:

      $ python word-cloud "John Smith"
    
  5. Admire the word cloud generated at cloud.png.

Current Status

Currently the code works for most users. Occasionally I find that the Facebook API returns empty messages for some users and I haven't yet found a way to fix this.

About

Create visual word clouds from a facebook message history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages