Some utility functions which abstract away the difficulty of interacting with the Facebook API server side