Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. accessKey = "(appID)|(appSecret)"
  2.  
  3. let connection = GraphRequestConnection()
  4. connection.add(GraphRequest(graphPath: "/myPage")) { httpResponse, result in
  5. switch result {
  6. case .success(let response):
  7. print("Graph Request Succeeded: (response)")
  8. case .failed(let error):
  9. print("Graph Request Failed: (error)")
  10. }
  11. }
  12. connection.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement