Created
December 13, 2011 03:57
-
-
Save Eric-Bro/1470492 to your computer and use it in GitHub Desktop.
This file contains 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
EBVKAPIRequest *another_request = [[EBVKAPIRequest alloc] initWithMethodName: @"status.get" | |
parameters: [NSDictionary dictionaryWithObject: @"1" | |
forKey: @"uid"] | |
responseFormat: EBXMLFormat]; | |
EBVKAPIResponse *response = [another_request sendRequestWithToken: token]; | |
if (response) { | |
if (response.response) { | |
NSLog(@"Pavel's status is '%@'", [response.response objectForKey: @"text"]); | |
} else { | |
NSLog(@"Request error: %@", [response.error localizedDescription]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment