Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- accessKey = "(appID)|(appSecret)"
- let connection = GraphRequestConnection()
- connection.add(GraphRequest(graphPath: "/myPage")) { httpResponse, result in
- switch result {
- case .success(let response):
- print("Graph Request Succeeded: (response)")
- case .failed(let error):
- print("Graph Request Failed: (error)")
- }
- }
- connection.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement