Reputation: 9442
Is there any simple way to get a success notification from instance of FBRequest
?
Like - (void)request:(FBRequest *)request didFailWithError:(NSError *)error
for errors.
Upvotes: 2
Views: 362
Reputation: 9442
Seems that the only way is to check if response code of NSURLResponse is 200.
- (void)request:(FBRequest *)request didReceiveResponse:(NSURLResponse *)response {
if (200 == [response statusCode]) {
NSLog(@"Success");
}
}
Upvotes: 1