First of all install latest sdk and do something like this:
Under ~\FaceBook-Sdk\facebook-android-sdk-3.5.2\samples.
You will find the samples of whatever you have posted. But may be It will not work. So what you have to do to make it run is:
Make application on Facebook side. Get your fb_api_key from there and put in the project you get from samples.