Skip to content

Instantly share code, notes, and snippets.

@Eric-Bro
Created December 13, 2011 03:57
Show Gist options
  • Save Eric-Bro/1470492 to your computer and use it in GitHub Desktop.
Save Eric-Bro/1470492 to your computer and use it in GitHub Desktop.
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