title: Facebook share on a different domain than your app configuration?
body: <p>This is the code for the share button:</p>
  
  <pre><code>FB.ui({
      method: 'share',
      href: 'http://cheese.com/',
  });
  </code></pre>
  
  <p>I have multiple domains reusing one app id. We did some workarounds for logging in etc. But at least I hoped the share button would just work. But this gives me a classic:</p>
  
  <blockquote>
    <p>Given URL is not allowed by the Application configuration.: One or
    more of the given URLs is not allowed by the App's settings. It must
    match the Website URL or Canvas URL, or the domain must be a subdomain
    of one of the App's domains.</p>
  </blockquote>
  
  <p>The error makes sense: I try to share something on another domain. But why is there this limitation in the first place? Is there a workaround?</p>
  
  <p>Note that the send link dialog doesn't give any problems:</p>
  
  <pre><code>FB.ui({
      method: 'send',
      link: 'http://cheese.com/',
  });
  </code></pre>
  
  <p>What's so different between <code>share</code> and <code>send</code>?</p>
  
  <p>What would be a workaround when using multiple domain names for a single app?</p>