Skip to content

Latest commit

 

History

History

Example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

LOInstagram

This allows you to get instagram auto of user in your app. Learn more at https://instagram.com/developer/authentication/

Now just implemented about

  • Authentication
  • User base information
  • Recent media published by user

####TRY IT

  • Add LOInstagram.h and LOInstagram.m to your project
  • Add AFNetworking to your project
  • Build to check if error
  • Create a Instagram app on instagram https://instagram.com/developer/clients/manage/
    • REDIRECT URI = " ig{Client_id}:// " , like following
    • enter image description here
  • Modify info.plist of your project like following
    • enter image description here

AppDelegate.m

-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
    return [[LOInstagram shareInstance] application:application openURL:url sourceApplication:sourceApplication annotation:annotation];
}

And others just like the example in ViewController.m

[[LOInstagram shareInstance] loginWithScope:@[@"basic",@"comments",@"likes",@"relationships"] Completion:^(BOOL success, NSString *errorReason) {

}];

####feedback

If any suggest,proposal , or bug . Please let us know https://github.com/vivalalova/LOInstagram/issues