J'utilise le bloc suivant permet aux utilisateurs de mon application d'autoriser avec Instagram:iOS Swift - API Instagram obtenir une réponse de WebView NSURL Demande
func authorizeInstagram() {
let myWebView:UIWebView = UIWebView(frame: CGRectMake(0, 0, UIScreen.mainScreen().bounds.width, UIScreen.mainScreen().bounds.height))
myWebView.delegate = self
myWebView.loadRequest(NSURLRequest(URL: NSURL(string: "https://instagram.com/oauth/authorize/?client_id=xxxxxxxxxxxxxxxxxx&redirect_uri=xxxxxxxxxxx/&response_type=token")!))
self.view.addSubview(myWebView)
}
Ma question est, comment puis-je obtenir le Reponse JSON de la Webview demande NSURL une fois que l'utilisateur a terminé auth?
Je suis un peu confus en ce moment Avez-vous eu votre solution? [Référence] (https://www.instagram.com/developer/authentication/) –