I'm using facebook c# SDK, the first launch of the app will redirect user as shown below
Response.Redirect(string.Format( "https://graph.facebook.com/oauth/authorize?client_id={0}&redirect_uri={1}&scope={2}" , appID, "https://example.com/", scopes));
If everything went well, facebook with redirect to the supplied url and I will have access to the queryString parameter "code" which I'm using to get access_token of the logged on user.
Everything works fine if I run the app outside the Facebook canvass app. If I go through my created facebook canvass app, the canvass app url is set to call the default url which will inturn redirect as explained above and thats when i'm getting this error:
Refused to display 'https://www.facebook.com/dialog/oauth?client_id=xxxxxxxxxxx&redirect_ur ...
Go to the complete details ...