download fbconnect first.
check this.....
you have create a account in developer.facebook.com. after that you get a API Key.
you can add this project with your project
right click your project-> properties->Select Projects tab-> Add Project--> both fbconnect-android and fbconnect-sample.
thats it.