Python - pulls data from the Facebook API to create a forced directed layout graph using D3
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
fb-graph-generator.py
fb-redirected.html

README.md

Generate D3.js interactive friendship network graphs with Facebook data

Check example

Usage

  • Get your FB Access Token here

  • pull your FB friends data and create cliques in your network:

python fb-graph-generator.py
  • fire up the webserver with this command:
python -m SimpleHTTPServer [portnumber]

Contents

  • graph generator .py script
  • html visualization files

Requirements

  • FB API Access Token
  • Python modules

requests, json, facebook, network, SimpleHTTPServer, SocketServer

COPYRIGHT

These scripts are dedicated to the public domain. Use them as you please with no restrictions whatsoever. Developed and inspired rom https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition