philippec/PhFacebook — pull request #41 by raffael-me (2013-02-21 13:14:39+00:00)
Title: Completion blocks.

- Added the capability to define completion blocks for both token retrieval and requests. Defining a delegate is actually not necessary anymore.

Example:

fb = [[PhFacebook alloc] initWithApplicationID:@"XXXXXXX"];
[fb getAccessTokenForPermissions:@[@"publish_actions"] cached:NO withCompletionBlock:^(NSDictionary *result) {
[fb sendRequest:@"/me" withCompletionBlock:^(NSDictionary *result) {
NSLog(@"Got /me result: %@", result);
}];
[fb sendFQLRequest:@"SELECT uid, sex, name from user WHERE uid = me()" withCompletionBlock:^(NSDictionary *result) {
NSLog(@"Got FQL result: %@", result);
}];
}];

- Added german .strings file
- ARC compatibility
**WARNING:** After refactoring for ARC, only 64bit is available