This is simple shows how to integrate  Facebook login button into your app. Further, one can use delegates to create other great features.