Extension:FBConnect/FBConnectClient.php

Source code for my Facebook Connect extension until it gets committed to SVN, at which point it will be available here.