Home > Facebook > “Permission denied” Facebook JS Error on IE8

Error:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)
Timestamp: Mon, 13 Dec 2010 14:00:09 UTC

Message: Permission denied
Line: 16
Char: 2188
Code: 0
URI: http://connect.facebook.net/en_US/all.js

Solution:
Add domain param here:
$facebook = new Facebook(array(
'appId'  => 'xxx',
'secret' => 'xxx',
'cookie' => true,
'domain' => 'mydomain.com'
));



Flag Counter