This source codes from this blog http://dajver.blogspot.com/2015/01/facebook-sdk-android.html. And there I told about facebook sdk and how to use it.
<img src=http://habrastorage.org/files/703/0cc/a64/7030cca6433e4f5b8d2a0205cf4b8c8e.png / height=417 weight=250> <img src=http://habrastorage.org/files/d6b/a43/d5c/d6ba43d5cad24c64a17d99e0bfc88815.png / height=417 weight=250>