I am currently integrating Facebook login through the Facebook SDK in iOS. So if i am currently having Facebook application installed in iOS, so if i login through Facebook in my application it should follow the under mentioned scenarios:
1) If the Facebook application is already installed then while clicking the Facebook login, the Facebook application should pop up.
2) Else if we don't have Facebook application it should divert to the web browser.
How to do this . Is it by manually through our coding or Facebook SDK manages it?
