1) Download that branch of SDS: https://github.com/camfitz/facebook-php-sdk;
2) Create an Application on facebook: https://developers.facebook.com/docs/reference/php/ > Apps > Create New Application;
3) Edit the example.php downloaded, and change the 'appId' and 'secret' to the data in you facebook application Dashboard page; ));
4) Read the "Authentication and authorization" in https://developers.facebook.com/docs/php/gettingstarted/ and adjust the example code if needed.
5) Run it and VOILA!