This tutorial shows how to integrate the Facebook SDK 3.0 to upload statutes and post photos to users. Hope this helps: http://xcodenoobies.blogspot.com/2012/09/how-to-upload-photo-and-update-status.html
You can get the birthdays of your Facebook friends (or users) with a single fql query.
You can read about fql here: http://developers.facebook.com/docs/reference/fql/
But here is some code for the link (this code is in the class defined as FBSessionDelegate, and FBRequestDelegate)
- (void)request:(FBRequest *)request didLoad:(id)result { // result is a NSDictionary of your friends and their birthdays! } - (void)fbDidLogin { //some best practice boiler plate code for storing important stuff from fb NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"]; [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"]; [defaults synchronize]; //now load all my friend birthdays NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"select birthday, name, uid, pic_square from user where uid in (select uid2 from friend where uid1=me()) order by name", @"query", nil]; [self.facebook requestWithMethodName: @"fql.query" andParams: params andHttpMethod: @"POST" andDelegate: self]; } - (void) loginWithFacebook { self.facebook = [[[Facebook alloc] initWithAppId:@"<your app id here>" andDelegate:self] autorelease]; //IMPORTANT - you need to ask for permission for friend birthdays [facebook authorize:[NSArray arrayWithObject:@"friends_birthday"]]; }
source share