2013-03-27 119 views

回答

0
- (void) postWall:(NSString *)caption:(NSString *)description:(NSString *) name:(NSString *)link{ 



    NSMutableDictionary *postParams = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
             name, @"name", 
             caption, @"caption", 
             description, @"description", 
             link,@"link", 

             nil]; 

    [FBRequestConnection startWithGraphPath:@"me/feed" 
           parameters:postParams 
           HTTPMethod:@"POST" 
          completionHandler:^(FBRequestConnection *connection, 
               id result, 
               NSError *error){} 

    ]; 


}