title: Sending web app invitation to Facebook friends and having the invitation be displayed in the friends' mobile Facebook app
body: <p>I have a site that allows users to create private content, kind of like a blog post, and then grant access to that content to specific facebook friends. I'm struggling with figuring out how to do invitations to the facebook friends so that the user doesn't have to copy &amp; paste their page URL and manually send it to their friends. </p>
  
  <p>This is the workflow I am trying to implement:</p>
  
  <ol>
  <li><p>John creates a new blog post on my site by filling out the form and selecting facebook friends who can view it. Susan is one of the selected friends.</p></li>
  <li><p>John submits the form. My site saves the blog post and generates a unique URL for the new post's page.</p></li>
  <li><p>John is then presented with Facebook's App Request dialog UI which is populated with the friends he previously selected. John confirms the dialog UI.</p></li>
  <li><p>Facebook's API takes over from here and sends the App Requests to each friend (including Susan).</p></li>
  <li><p>Susan launches Facebook from her iPhone (not Facebook.com, but rather the native iPhone facebook app).</p></li>
  <li><p>Susan sees that she has a new notification in the Facebook app that displays the App Request. She also sees the App Request in her news feed.</p></li>
  <li><p>Susan clicks the link in the App Request and is taken to the unique URL of the blog post that she was invited to.</p></li>
  </ol>
  
  <p>Every time John creates a blog post and invites friends, this entire workflow process repeats. So, if John creates 2 blog posts and invites Susan to both of them, then Susan should receive two separate invites each having a unique URL.</p>
  
  <p>I've implemented the App Request UI dialog with this code (from the Facebook JavaScript SDK):</p>
  
  <pre><code>function sendRequestToRecipients() {
     FB.ui({method: 'apprequests',
        message: 'Check out my new blog post',
        to: '499802820,499802852'  //list of selected Friend IDs go here
     }, requestCallback);
  }
  </code></pre>
  
  <p>Now, the pieces that I can't figure out how to get working are these:</p>
  
  <ol>
  <li><p>When I try to use Facebook's App Request UI dialog, the invitation is only visible if the friend (Susan in the above example) goes to Facebook.com. It's not visible when she opens the Facebook iPhone app.</p></li>
  <li><p>I can't figure out how to send a unique URL with each App Request. It seems like the App Request UI dialog is designed to just send the URL to my registered facebook web app. For example, if my registered web app's URL is www.example.com, then that's what is used in the App Request. Instead, I need to be able to specify that the URL should be www.example.com/someRandomUniqueID</p></li>
  <li><p>It's critical that Susan's friends don't see the App Request post. It shouldn't show up as a timeline post or anything like that. Only Susan should be able to see her own App Request.</p></li>
  </ol>
  
  <p>Is what I am trying to do even possible?</p>