我正在尝试将ObjectiveFlickr与以下示例 API 调用一起使用,但我的代码以 EXC_BAD_ACCESS 结尾。我确保我的密钥和共享密钥存在于 flickr 中:
OFFlickrAPIContext *context = [[OFFlickrAPIContext alloc] initWithAPIKey:apiKey sharedSecret:sharedSecret];
OFFlickrAPIRequest *request = [[OFFlickrAPIRequest alloc] initWithAPIContext:context];
[request setDelegate:self];
[request callAPIMethodWithGET:@"flickr.photos.getRecent" arguments:[NSDictionary dictionaryWithObjectsAndKeys:@"1", @"per_page", nil]];