一、创建APP
1、request the key






注意必须选Web Application;callback URL 的设置需要注意必须是“://auth”
2、FlickrKit使用配置
a、导入FlickrKit
pod 'FlickrKit'

b、初始化FlickrKit
导入头文件
#import <FlickrKit/FlickrKit.h>
在APPDelegate.m文件中,didFinishLaunchingWithOptions:方法内代码如下:
[[FlickrKit sharedFlickrKit] initializeWithAPIKey:@"" sharedSecret:@""];

在Info.plist文件中添加key如下:

使用


调用成功后返回链接


网友评论