title: iOS - Posting image and text to FB User's wall
body: <p>I'm creating iOS app using latest Facebook framework 3.1 <br>
  I've seen lots of content regarding posting image and text to facebook user's wall. I'm using the following code.</p>
  
  <pre><code>    NSDictionary* dict = @{
          @"link" : @"https://developers.facebook.com/ios",
          @"picture" : [UIImage imageNamed:@"Default"],
          @"message":@"Your temp message here",
          @"name" : @"MyApp",
          @"caption" : @"TestPost",
          @"description" : @"Integrating Facebook in ios"
      };
  [FBRequestConnection startWithGraphPath:@"me/feed" parameters:dict HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
      NSString *alertText;
      if (error)
      {
          NSLog(@"%@",[NSString stringWithFormat: @"error: domain = %@, code = %d", error.domain, error.code]);
          alertText = @"Failed to post to Facebook, try again";
      } else
      {
          alertText = @"Posted successfully to Facebook";
      }
  
      [[[UIAlertView alloc] initWithTitle:@"Facebook Result" message:alertText delegate:nil cancelButtonTitle:@"OK!" otherButtonTitles:nil] show];
  }];
  </code></pre>
  
  <p>If I'm providing the picture as "URL" its posting fine. Else its throwing error. I want to post an image that is within the application bundle. Can some on tell me where I'm coding wrong?</p>