title: iOS Facebook API - How to populate the UIWebView
body: <p>I'm trying to get just a piece of information from Facebook, but I don't want to use the default Facebook API (because it doesn't allow you to auto-populate the text field when doing a feed).</p>
  
  <p>So, I'm creating a custom view that has the text view and the share and cancel buttons, but I want to show information about the app, as well.  I'm not sure how to do this.</p>
  
  <p>The image below is what the FBDialog (part of the native FB API). What I want is to show ONLY the information in the red box. This is a mixture of manually specified parameters, as well as something coming from FB about the app itself ("via  ...").</p>
  
  <p>So, my question is, how can pull the "via  for iOS" from FB (notice that is not manual in the code, whereas everything else in the red box is) and put it into a uiwebview (I'm assuming that is the only way)? Or can I even get <strong>just</strong> that information and display the info without specifying an action like "feed" (which would also bring in the text box from FB)?</p>
  
  <p>Here is the code that makes this dialog pop up: </p>
  
  <pre><code>    currentAPICall = kDialogFeedUser;
  SBJSON *jsonWriter = [[SBJSON new] autorelease];
  
  // The action links to be shown with the post in the feed
  NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
                                                         @"Get Started",@"name",@"http://m.facebook.com/apps/hackbookios/",@"link", nil], nil];
  NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
  // Dialog parameters
  NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                 @"I'm using the Hackbook for iOS app", @"name",
                                 @"Hackbook for iOS.", @"caption",
                                 @"Check out Hackbook for iOS to learn how you can make your iOS apps social using Facebook Platform.", @"description",
                                 @"http://m.facebook.com/apps/hackbookios/", @"link",
                                 @"http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png", @"picture",
                                 actionLinksStr, @"actions",
                                 nil];
  
  HackbookAppDelegate *delegate = (HackbookAppDelegate *) [[UIApplication sharedApplication] delegate];  
  [[delegate facebook] dialog:@"feed"
          andParams:params
        andDelegate:self];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/SxCyt.png" alt="enter image description here"></p>