Can't Post facebook URL using facebook SDK <p>I have a webapplication that I use to reshare existing post as follow 1)get the post details using <a href="https://graph.facebook.com/UserID_postID?access_token=AAA" rel="nofollow">https://graph.facebook.com/UserID_postID?access_token=AAA</a> (works fine) 2)fill the a data of the new post from the old one and try to resend it but there is some strange behviour if I use oldpost.link = newpost.link it doesnt nothing appear on the wall but if I used oldpost.link="\""newpost.link+"\"" works and the post appear on facebook wall but the link appears corputted as invalid.invalid/</p> <p>function getPost(userID, postID, token) { jQuery.getJSON("https://graph.facebook.com/" + userID + "_" + postID + "?access_token=" + token, function (post) { here is the code any idea please </p> <pre><code> var newPost = {}; newPost.message = "hi"; if (post.link != "" &amp;&amp; post.link != null &amp;&amp; post.link != "undefined") { newPost.link = "\"" + post.link + "\""; } if (post.name != "" &amp;&amp; post.name != null &amp;&amp; post.name != "undefined") { newPost.name = "\"" + post.name + "\""; } if (post.picture != "" &amp;&amp; post.picture != null &amp;&amp; post.picture != "undefined") { newPost.picture = "\"" + post.picture + "\""; } if (post.description != "" &amp;&amp; post.description != null &amp;&amp; post.description != "undefined") { newPost.description = "\"" + post.description + "\""; } doPost(newPost); }); } function doPost(newPost) { FB.api('/me/feed', 'post', newPost, function (response) { if (!response || response.error) { alert(' Denied Access'); } else { alert('Success'); } }); } </code></pre>