I share image image to Flickr using theirs standart API.
There are no problems with internet, sometimes it uploads the image, sometimes I receive such error.( When i press autorize button)
Can some help to solve or explain this problem? Is it connected with API, my sharing code, internet, or something else? Thank you.
Error Domain=com.flickr Code=108 "The operation couldn’t be completed. Invalid frob" UserInfo=0x1fdf10e0 {NSLocalizedFailureReason=Invalid frob}
OFFlickrAPIRequest *request = ....;
...
NSData *imageData = UIImageJPEGRepresentation(image, 0.8);
NSInputStream *imageStream = [NSInputStream inputStreamWithData:imageData];
[request uploadImageStream:imageStream suggestedFilename:@"Image.jpg" MIMEType:@"image/jpeg" arguments:[NSDictionary dictionaryWithObjectsAndKeys: @"text", @"title", nil]];