Generic implementation of the Facebook API with simplified OAuth integration to allow social sharing