title: How to post message to Facebook wall from the iPhone SDK?
body: <p>I am new to iPhone. My application connects to Facebook using the iPhone SDK, and I can post a default message using</p>
  
  <blockquote>
    <p>@"http://www.facebook.com/connect/prompt_feed.php/?message=Hello"</p>
  </blockquote>
  
  <p>but in my application all messages display on tableview and I want to post the selected message on the wall of Facebook, store selected message in a Twitter message (variable <code>twittermessage</code>) and write</p>
  
  <blockquote>
    <p>@"http://www.facebook.com/connect/prompt_feed.php/?message=%@",twittermessage;</p>
  </blockquote>
  
  <p>But it gives the following error.</p>
  
  <blockquote>
    <p>statically instance of Objective-C
    NSString</p>
  </blockquote>
  
  <p>I used the iPhone Facebook SDk from <em><a href="http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app" rel="nofollow">How To Post on Facebook with your iPhone App</a></em>.</p>