The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.