title: Facebook like and Twitter tweet buttons causing Cross Domain Issues
body: <p>I am using both the twitter tweet button, and the facebook like button</p>
  
  <pre><code>&lt;a href="http://twitter.com/share" 
     class="twitter-share-button"
     data-url="http://example.com"
     data-text="some text"
     data-count="horizontal"
     data-via="someone"&gt;Tweet
  &lt;/a&gt;
  &lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;
  
  &lt;script src="http://connect.facebook.net/en_US/all.js#xfbml=1"&gt;&lt;/script&gt;
  &lt;fb:like 
     class="fbShare" 
     href="http://example.com" 
     font="" send="true" 
     layout="button_count" 
     show_faces="false"&gt;
  &lt;/fb:like&gt;
  </code></pre>
  
  <p>But both of them are spitting out Cross domain Errors, Not one or two, but continuously.</p>
  
  <p>the actual errors (with substitutions) are </p>
  
  <blockquote>
    <p>Unsafe JavaScript attempt to access
    frame with URL
    <a href="https://www.facebook.com/plugins/like.php?channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df3cde04b84%26origin%3Dhttp%253A%252F%252Fexample.com%252Ff20b9fb1fc%26relation%3Dparent.parent%26transport%3Dpostmessage&amp;href=http%253A%252F%252Fexample.com%252F&amp;layout=button_count&amp;locale=en_US&amp;node_type=link&amp;sdk=joey&amp;send=true&amp;show_faces=false&amp;width=150" rel="noreferrer">https://www.facebook.com/plugins/like.php?channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df3cde04b84%26origin%3Dhttp%253A%252F%252Fexample.com%252Ff20b9fb1fc%26relation%3Dparent.parent%26transport%3Dpostmessage&amp;href=http%253A%252F%252Fexample.com%252F&amp;layout=button_count&amp;locale=en_US&amp;node_type=link&amp;sdk=joey&amp;send=true&amp;show_faces=false&amp;width=150</a>
    from frame with URL
    <a href="http://example.com/" rel="noreferrer">http://example.com/</a>. Domains,
    protocols and ports must match.</p>
    
    <p>Unsafe JavaScript attempt to access
    frame with URL
    <a href="http://platform0.twitter.com/widgets/tweet_button.html?_=1308700896075&amp;count=horizontal&amp;id=twitter_tweet_button_0&amp;lang=en&amp;original_referer=http%3A%2F%2Fexample.com%2F&amp;text=some" rel="noreferrer">http://platform0.twitter.com/widgets/tweet_button.html?_=1308700896075&amp;count=horizontal&amp;id=twitter_tweet_button_0&amp;lang=en&amp;original_referer=http%3A%2F%2Fexample.com%2F&amp;text=some</a> text&amp;url=http%3A%2F%2Fexample.com%2F&amp;via=someone
    from frame with URL
    <a href="http://example.com/" rel="noreferrer">http://example.com/</a>. Domains,
    protocols and ports must match.</p>
  </blockquote>