Created
June 28, 2010 22:11
-
-
Save probablycorey/456441 to your computer and use it in GitHub Desktop.
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
| NSString *url = @"http://api.twitter.com/1/users/show.json?screen_name=probablycorey"; | |
| [Seriously get:url handler:^(SeriouslyResponse *response, NSError *error) { | |
| if (error) { | |
| NSLog(@"Got error %@", error); | |
| } | |
| else { | |
| NSLog(@"%@", [response.body objectForKey:@"username"]); | |
| } | |
| }]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment