title: Facebook Pages, ask which page user choose, and take id, name, and ratings IOS SWIFT 3-4
body: <p>First sorry for my English, I'm a French developer.</p>
  
  <p>for 1 week, I read and reread the Facebook documentation but it does not work.
  This is my problem:
  On Xcode, I can create the connection with Facebook, the user can connect with his account and I managed to recover his image and surname / first name.
  On another page, I ask for access token for [manage_pages], the application asks permission but when the user has several pages they do not propose to manage one, Authorization I can not retrieve the ID or name of the Facebook page. I leave you the code on the Options page which allows you to request authorization to connect your Facebook page after the user presses a button.</p>
  
  <p>I tried with access graph: / me / accounts ... etc without success. It's really because I really have no idea that I'm coming to you. Thank you in advance for your answers !</p>
  
  <pre><code>@IBAction func connect_Pages(_ sender: Any) {
          loginButtonClicked()
      }
  
  func loginButtonClicked() {
      let login:FBSDKLoginManager = FBSDKLoginManager.init()
      login.logIn(withPublishPermissions: ["manage_pages"], from: self) { (resultPAge, error) in
          if((error) != nil) {
                              print("error")
  
                  }
          else if (resultPAge?.isCancelled)! {
              print("cancel")
  
          }
          else {
  
                              if (resultPAge?.grantedPermissions.contains("manage_pages"))! {
  
  if resultPAge?.token == nil {
  print("error")
  }
   else {
  let graphRequest = FBSDKGraphRequest(graphPath: "/me/accounts", parameters: ["fields" : "access_token, name, id"])
  let connection = FBSDKGraphRequestConnection()
  print("connect")
  connection.add(graphRequest, completionHandler: { (connection, result, error) -&gt; Void in
  if let dataRecup = result as? [String:AnyObject] {
  if let idPage = dataRecup["data"] as? [String:AnyObject] {
  if let nomPage = idPage["name"] as? String {
  print("Resultat : \(nomPage)")
  }
  }
  }
  })
  }
  }
  }
  }
  
  }
  </code></pre>
  
  <p><strong>EDIT :</strong> </p>
  
  <p>I just removed the first / for the graphpath, but a new problem appeared, I retrieve the information from the page (accessToken, id and name) but there are no quotation marks! The application can not recover it to separate in JSON.</p>