title: how to replace send url before send data to facebook?
body: <p>how to replace send url before send data to facebook?</p>
  
  <p>I need to replace url when click the facebook btn . how to do it?</p>
  
  <pre><code>&lt;fb:like href="%my_url" layout="standard" action="like" show_faces="true" share="true"&gt;&lt;/fb:like&gt;
  &lt;fb:share-button href="%my_url" type="button_count"&gt;&lt;/fb:share-button&gt;
  
  &lt;script type="text/javascript"&gt;
      /* ------- 
          when click facebook button , before send data to facebook,
          i need to replace the "%my_url" string to my pointed url , then send to facebook
          any facebook function to do this job?
       ------- */
      FB.???(
          this.url = replace('%my_url','http://www.google.com');
      )
  
  &lt;/script&gt;
  </code></pre>