We need an app able to log in to facebook through facebook iOS SDK using a custom login button. Through the login, the user must be prompted for credentials only once, and asked to enable both reading and publish permisions.
The loging must be through a webView inside the app (using FBSDKLoginBehaviorWeb)
The needed permissions are : user_photos, user_friends, user_likes, email and publish_actions
We prefere a code using latest facebook SDK (v4.12.0).
The code must be writen in Objective-C