GdataContact fetched user photo is at low resolution

72 views Asked by At

I am using the Google data contact API to fetch a user`s photo. However, it appears the photo returned are about low resolution. is that possible to get a higher resolution photo? Below are the code I am using to fetch the photo:

**NSURL *imageURL = [[contact photoLink] URL];
GDataServiceGoogleContact *service = [self contactService];
NSMutableURLRequest *request = [service requestForURL:imageURL
                                                 ETag:nil
                                           httpMethod:nil];

[request setValue:@"image/*" forHTTPHeaderField:@"Accept"];
GTMHTTPFetcher *fetcher = [GTMHTTPFetcher fetcherWithRequest:request];

NSLog(@"URLRequest %@",request);

fetcher.retryEnabled = YES;
fetcher.maxRetryInterval = 0.3;
[fetcher setAuthorizer:[service authorizer]];
[fetcher beginFetchWithDelegate:self
              didFinishSelector:@selector(imageFetcher:finishedWithData:error:)];**
0

There are 0 answers