Skip to content

Instantly share code, notes, and snippets.

@darcwader
Created January 28, 2017 13:54
Show Gist options
  • Select an option

  • Save darcwader/a7c606f38451c285aabc875da5a85931 to your computer and use it in GitHub Desktop.

Select an option

Save darcwader/a7c606f38451c285aabc875da5a85931 to your computer and use it in GitHub Desktop.
Flickr Interesting Image building
//https://api.flickr.com/services/rest/?method=flickr.interestingness.getList&api_key=aa621a9050ef8dfbd9621cc311da86aa&format=json
-(NSString*) flickrInterestingGenerateUrlFromInfo:(NSDictionary*) info {
return [NSString stringWithFormat:@"http://farm%@.static.flickr.com/%@/%@_%@_t.jpg",
[info objectForKey:@"farm"],
[info objectForKey:@"server"],
[info objectForKey:@"id"],
[info objectForKey:@"secret"]];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment