Created
January 28, 2017 13:54
-
-
Save darcwader/a7c606f38451c285aabc875da5a85931 to your computer and use it in GitHub Desktop.
Flickr Interesting Image building
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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