I am still using the old facebook graph api for posting stuff on a users wall in my app. Since iOS6 facebook has been integrated into the OS. How can I use it to post stuff? I wanna use it the same way as the twitter framework:
TWTweetComposeViewController *tweetViewController = [[TWTweetComposeViewController alloc] init];
[tweetViewController setInitialText:@"bla bla bla"];
[self dismissModalViewControllerAnimated:YES];
[self presentModalViewController:tweetViewController animated:YES];
Starting with iOS 6 you can use SLComposeViewController for all supported service types like Twitter, Facebook and Weibo.
Note: Don’t forget to add the Social.framework