简单实现Instagram授权
应用介绍
这是一个简单实现Instagram授权,源码InstagramSimpleOAuth,InstagramSimpleOAuth实现Instagram授权。封装Instagram API,方便简单实现授权登录。 使用方法: 导入头文件: #import "InstagramSimpleOAuth.h" 创建InstagramSimpleOAuthViewController对象并初始化: InstagramSimpleOAuthViewController *viewController = [[InstagramSimpleOAuthViewController alloc] initWithClientID:@"enter_your_client_ID_here" clientSecret:@"enter_your_client_secret_here" callbackURL:[NSURL URLWithString:@"http://enter.callback.url.here"] completion:^(InstagramLoginResponse *response, NSError *error) { if (response.accessToken) { [self displayToken:response.accessToken]; } }];

©软件著作权归作者所有。本站所有内容均来源于网络,不得违法使用,仅供学习使用,请支持正版!
转载请注明出处: 662P » 简单实现Instagram授权
发表评论 取消回复