Mine is a FB App based on canvas. Facing an issue both on Chrome and Firefox, (although usually Chrome):
1.When I hit my approved fb app secure URL on a new incognit
There are a lot of possible issues. Try with one of these solutions:
FB.init()
(see code below)
after the body tag as explained in the fb doc here: https://developers.facebook.com/docs/reference/javascript/http://yoursite.com?
tag like this:
Code for .htaccess
Header set Access-Control-Allow-Origin "*"
Code for channels issue:
FB.init({
appId: '1234567890',
status: true,
cookie: true,
xfbml: true,
channelUrl : '//yoursite.com/channel.html'
});
The channel.html delivered by your server should contain this single line:
EDIT
About your first issue:
The page at about:blank displayed insecure content from http://static.ak.facebook.com/connect/xd_arbiter.php?version=18#cb=f2e4fe7b…os.com%2Ff4aeadb2&domain=www.mydomain.com&relation=parent&error=unknown_user.
This is an expected exception that is used to test for a condition - this has no side effects so don't care about it.
Please refer to this question: Unsafe JavaScript attempt to access frame with URL: Domains, protocols and ports must match.