Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. login.logIn(withReadPermissions: ["public_profile","user_friends"], from: self) {
  2.  
  3. guard let request = FBSDKGraphRequest(graphPath: "/99999999923232321/friends", parameters: nil, httpMethod:"GET") else {
  4. fatalError("Unable to create the Facebook Request")
  5. }
  6.  
  7. request.start(completionHandler: { (connection, result, error) in
  8.  
  9. print(result)
  10.  
  11. })
  12.  
  13. ▿ Optional<String>
  14. - some : "The operation couldn’t be completed. (com.facebook.sdk.core error 8.)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement