How to create fbconnect in php

Hi how to create fbconnect in php , i have tests example code it shows the error

Fatal error: Class ‘PHPUnit_Framework_TestCase’ not found in tests.php

please help to solve this problem ,and tell how to use this

Have you downloaded the PHP SDK? https://github.com/facebook/php-sdk/

Basically the only good help you can get is from FB: http://developers.facebook.com/docs/guides/web/#login

thanks for you reply

i got fatel error PHPUnit_Framework_TestCase not found in tests.php why this error

is there any installation need for fbconnect in php?

It looks like you need PHPUnit installed, but that shouldn’t stop you from using the SDK.