A quick and simple way to authenticate an Instagram user in your iPhone or iPad app.
Create an instance of InstagramSimpleOAuthViewController and pass in an Instagram client ID, client secret, client callback URL and completion block to be executed with InstagramLoginResponse and NSError arguments.
Once the instance of InstagramSimpleOAuthViewController is presented (either as a modal or pushed on the navigation stack), it will allow the user to login. After the user logs in, the completion block given in the initialization of the view controller will be executed. The argument in the completion block, InstagramLoginResponse, contains an authToken and other login information for the authenticated user provided by Instagram API Response. If there is an issue attempting to authenticate, an error will be given instead.
Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.