这似乎不起作用:
NSString *key = @"mykey";
NSString *shortenedStrURL = [NSString stringWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://www.googleapis.com/urlshortener/v1/url?key=%@&longUrl=%@", key,strURL]] encoding:NSUTF8StringEncoding error:nil];
return [NSURL URLWithString:strURL];