title: php - Facebook post on wall, message containing double quotes
body: <p>I am trying to post on Facebook wall, with following code. The message sometimes contains double quotes or other characters which is converted on wall, don't know how to get this resolved. Following is the code I am using</p>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code>$title = get_the_title($post-&gt;ID); // using wordpress posts' title
  
  //$title = "John's message has \"\" double quotes"; I thought it might be facebook doing something with the title. but by using raw according to Tim, it worked.
  
                      $attachment = array(
                          'access_token' =&gt; $smm_fb_access_token,
                          'message' =&gt; $title,
                          'name' =&gt; "Site.com",
                          'link' =&gt; $handler_url,
                      );
  
                      $facebook-&gt;api(sprintf('/%s/feed', $fb_id), 'POST', $attachment);
  </code></pre>
  
  <p>The post on Facebook becomes like that</p>
  
  <pre><code>John&amp;#8217;s message has &amp;#8220;&amp;#8220; double quotes.
  </code></pre>
  
  <p>Please guide what should I do to make it work?</p>