Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blocked a frame with origin "http://static.ak.facebook.com" from accessing a frame with origin [duplicate]

Suddenly starts to give this error :

Blocked a frame with origin "http://static.ak.facebook.com" from accessing a frame with origin "http://*****.com". The frame requesting access set "document.domain" to "facebook.com", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.

like image 435
Kiko Mesquita Avatar asked Jun 25 '13 21:06

Kiko Mesquita


2 Answers

In my experience it means you are running the iFrame somewhere that facebook can't access, like your local computer. Facebook trys to scan your page when your iFrame comes up. If your page is public, you wont get that error and the iFrame/facebook like plugin should work properly.

like image 113
John Doughty Avatar answered Nov 15 '22 16:11

John Doughty


You have an iFrame from Facebook on your site. Some of the code on Facebook's end is trying to update your page. Your browser is blocking this behavior because the iFrame and your site are on different pages. The only way to get rid of this error is to get rid of the iFrame (unless you're friends with someone at Facebook).

like image 27
Aakil Fernandes Avatar answered Nov 15 '22 15:11

Aakil Fernandes