Skip to content

Instantly share code, notes, and snippets.

@randhirraj3130
Created December 23, 2016 10:24
Show Gist options
  • Save randhirraj3130/058ef280cb945aea4e472d239baa5a1b to your computer and use it in GitHub Desktop.
Save randhirraj3130/058ef280cb945aea4e472d239baa5a1b to your computer and use it in GitHub Desktop.
Instagram Login in swift 3.0
let clientID = "aef611af2a1e4806a7de8c0aca13daac"
let redirect_uri = "https://www.twistfuture.com/"
let getAccessToken = "https://api.instagram.com/oauth/authorize/?client_id=\(clientID)&redirect_uri=\(redirect_uri)&response_type=token"
self.InstagramWebViewLogin.loadRequest(NSURLRequest(url: NSURL(string:getAccessToken as String)! as URL) as URLRequest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment