title: Redirecting to my page
body: <p>I have ASP.Net application, and want users to access it from facebook via IFRAME</p>
  
  <p>Application is located at:
  facebook.tk-osmica.hr/</p>
  
  <p>My setup: (leading http removed to avoid stackoverflow restrictions)
  Canvas URL: facebook.tk-osmica.hr/
  Canvas Page: apps.facebook.com/dankotestd (raedonly)</p>
  
  <p>in my web.config i did setup API Key and secret, 
  and "PostAuthorizeRedirectURL=Default.aspx"</p>
  
  <p>i'm getting error:</p>
  
  <pre><code>   "error": 
        "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
        "type": "OAuthException"
  </code></pre>
  
  <p>I was forwarded to URL:
  <a href="https://graph.facebook.com/oauth/authorize?client_id=244980988904443&amp;redirect_uri=http://apps.facebook.com/dankotest2/Default.aspx&amp;scope=user_photos" rel="nofollow">https://graph.facebook.com/oauth/authorize?client_id=244980988904443&amp;redirect_uri=http://apps.facebook.com/dankotest2/Default.aspx&amp;scope=user_photos</a></p>
  
  <p>I guess I should have been redirected to:
  <a href="https://graph.facebook.com/oauth/authorize?client_id=244980988904443&amp;redirect_uri=http://facebook.tk-osmica.hr/Default.aspx&amp;scope=user_photos" rel="nofollow">https://graph.facebook.com/oauth/authorize?client_id=244980988904443&amp;redirect_uri=http://facebook.tk-osmica.hr/Default.aspx&amp;scope=user_photos</a></p>
  
  <p>but i can't set it up to do so.</p>
  
  <p>What is right configuration?
  Thank you!</p>