Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 1.07 KB


A collection of scripts that help with downloading data from the Facebook platform for research purposes.

EDIT: this code is still based on v1.0 of FB's API and (most of it) no longer works. It will not get updated in the forseeable future, but kept online for documentation purposes.

This should be relatively easy to set up:

  • You need a publicly accessible server running PHP (no database involved, but apparently Windows does not work - I've only tested this on Linux);
  • Put the files in a directory of your choice, e.g.;
  • In this folder, create a subdirectory named "data" and make sure that it is writeable;
  • Head over to and create a new app (with "Facebook Canvas"), using the public path (e.g. as the Canvas URL in the "settings" pane; there you'll also find your App ID and App Secret;
  • Rename ini_example.php to ini.php and fill in the $appid and $secret variables with your values; change the $canvasurl variable to your public path (e.g.;