http://cyrus.cs.ucdavis.edu/~wu/ecs15/Building_Facebook_Application_using_Python_ECS.pdf