如何从Instagram检索图片

时间:2015-12-08 12:28:02

标签: objective-c ios9 instagram instagram-api

我想从Instagram获取图片,但他们会向我返回空白数据。请检查 - 我是iOS新手:

https://api.instagram.com/v1/users/self/media/recent/?access_token=2315359304.fd72562.3fc48188ce25460185a1e74124f70fed

Data 
data =     (
    );
    meta =     {
        code = 200;
    };
    pagination =     {
    };

这是我的代码

 IGAppDelegate* appDelegate = (IGAppDelegate*)[UIApplication sharedApplication].delegate;       

     NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"users/self/media/recent/", @"method", nil];
        [appDelegate.instagram requestWithParams:params
                                        delegate:self];

0 个答案:

没有答案