I've just updated Facebook framework and old code for invite friends does't work(Now there is no Facebook class object.). I used the following code:
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"1", @"frictionless",
@"My message", @"message",
@"Notification", @"notification_text",nil];
[self.facebook dialog:@"apprequests" andParams:params andDelegate:self];
Is it possible to show the same dialog on the latest framework?
Yes it is. The sample iOS game, Friend Smash (https://github.com/fbsamples/ios-friend-smash), uses this technique. The equivalent code is here: