-(void) viewDidLoad
{
NSString *strMethod=[NSString stringWithFormat:@"media/popular?access_token=%@",appDelObj.instagram.accessToken];
[appDelObj.instagram requestWithMethodName:strMethod params:nil httpMethod:@"GET" delegate:self];
}
-(IGRequest*)requestWithMethodName:(NSString*)methodName
params:(NSMutableDictionary*)params
httpMethod:(NSString*)httpMethod
delegate:(id<IGRequestDelegate>)delegate {
NSString * fullURL = [kRestserverBaseURL stringByAppendingString:methodName];
return [self openUrl:fullURL
params:params
httpMethod:httpMethod
delegate:delegate];
}
问问题
173 次
1 回答
0
我刚刚更改了我之前点击的 URL,之前的 URL 用来给我最流行图片的结果,但是下面的 URL 现在会给出用户上传的所有图片
NSString *strMethod=[NSString stringWithFormat:@"users/self/feed?access_token=%@",appDelObj.instagram.accessToken];
[appDelObj.instagram requestWithMethodName:strMethod params:nil httpMethod:@"GET" delegate:self];
于 2013-10-18T10:56:30.990 回答