I'm not even sure how to identify the problem, but here it goes.
I have an application using the Facebook SDK for user login. I followed the Facebook authorization guide. I am not 100% sure how this works, but this part of my "AppDelegate.m" seems important.
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
return [FBSession.activeSession handleOpenURL:url];
}
So far so good. Now I want to implement a similar login for instagram so that the user can access their photos. I run this example without problems ( https://github.com/crino/instagram-ios-sdk ). When I tried to import this into my project, I was stuck. Because the instagram project also has a function in AppDelegate (IGAppDelegate)
-(BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
return [self.instagram handleOpenURL:url];
}
( Facebook)
facebook instagram (, "if" URL-).
PS: , facebook, URL-
fb4333597123414933:///# access_token = BAAGKI2vHLxUBANbDegkrdoc4GJWUZC2clqLAzxz8IxEBZBdEyjrD2oTaGZA0g2AbSGWgvEhONKM6xJWzLCALGUBguqUpor6kXu9ZBewusNZCUe6BOXYvX & expires_in = 5166254
instagram :
igfd725621c5e44198a5b8ad3f7a0ffa09://authorize#access_token=354172840.fd72562.bf6b3611632d4d00b6cef660ea9d9b6f