Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

Javascript error on Facebook Likebox

Head out to http://brucegust.com/rodgers/facebook.php. It looks fine by itself, but when I attempt to implement it as part of http://www.brucegust.com/rodgers, it's all over the place.

When I look at my Error Console, I get this:

Unsafe JavaScript attempt to access frame with URL http://brucegust.com/rodgers/facebook.php from frame with URL http://www.facebook.com/plugins/like_box.php?app_id=468091579883121&channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D27%23cb%3Df19c70bcd4%26domain%3Dbrucegust.com%26origin%3Dhttp%253A%252F%252Fbrucegust.com%252Ffd339785%26relation%3Dparent.parent&header=true&href=https%3A%2F%2Fwww.facebook.com%2Frodgerstaekwondo&locale=en_US&sdk=joey&show_border=true&show_faces=true&stream=true&width=292. Domains, protocols and ports must match.
ping:1Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings.  It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
Unsafe JavaScript attempt to access frame with URL http://brucegust.com/rodgers/facebook.php from frame with URL https://www.facebook.com/plugins/like_box.php?app_id=468091579883121&channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D27%23cb%3Df19c70bcd4%26domain%3Dbrucegust.com%26origin%3Dhttp%253A%252F%252Fbrucegust.com%252Ffd339785%26relation%3Dparent.parent&header=true&href=https%3A%2F%2Fwww.facebook.com%2Frodgerstaekwondo&locale=en_US&sdk=joey&show_border=true&show_faces=true&stream=true&width=292. Domains, protocols and ports must match.
2Unsafe JavaScript attempt to access frame with URL http://brucegust.com/rodgers/facebook.php from frame with URL https://www.facebook.com/login/plugin_roadblock.php?target_url=https%3A%2F%2Fwww.facebook.com%2Fplugins%2Flike_box.php%3Fapp_id%3D468091579883121%26channel%3Dhttp%253A%252F%252Fstatic.ak.facebook.com%252Fconnect%252Fxd_arbiter.php%253Fversion%253D27%2523cb%253Df19c70bcd4%2526domain%253Dbrucegust.com%2526origin%253Dhttp%25253A%25252F%25252Fbrucegust.com%25252Ffd339785%2526relation%253Dparent.parent%26header%3Dtrue%26href%3Dhttps%253A%252F%252Fwww.facebook.com%252Frodgerstaekwondo%26locale%3Den_US%26sdk%3Djoey%26show_border%3Dtrue%26show_faces%3Dtrue%26stream%3Dtrue%26width%3D292. Domains, protocols and ports must match.
Refused to display document because display forbidden by X-Frame-Options.
4Unsafe JavaScript attempt to access frame with URL http://brucegust.com/rodgers/facebook.php from frame with URL https://www.facebook.com/login/plugin_roadblock.php?target_url=https%3A%2F%2Fwww.facebook.com%2Fplugins%2Flike_box.php%3Fapp_id%3D468091579883121%26channel%3Dhttp%253A%252F%252Fstatic.ak.facebook.com%252Fconnect%252Fxd_arbiter.php%253Fversion%253D27%2523cb%253Df19c70bcd4%2526domain%253Dbrucegust.com%2526origin%253Dhttp%25253A%25252F%25252Fbrucegust.com%25252Ffd339785%2526relation%253Dparent.parent%26header%3Dtrue%26href%3Dhttps%253A%252F%252Fwww.facebook.com%252Frodgerstaekwondo%26locale%3Den_US%26sdk%3Djoey%26show_border%3Dtrue%26show_faces%3Dtrue%26stream%3Dtrue%26width%3D292. Domains, protocols and ports must match.
Refused to display document because display forbidden by X-Frame-Options.
2Unsafe JavaScript attempt to access frame with URL http://brucegust.com/rodgers/facebook.php from frame with URL https://www.facebook.com/login/plugin_roadblock.php?target_url=https%3A%2F%2Fwww.facebook.com%2Fplugins%2Flike_box.php%3Fapp_id%3D468091579883121%26channel%3Dhttp%253A%252F%252Fstatic.ak.facebook.com%252Fconnect%252Fxd_arbiter.php%253Fversion%253D27%2523cb%253Df19c70bcd4%2526domain%253Dbrucegust.com%2526origin%253Dhttp%25253A%25252F%25252Fbrucegust.com%25252Ffd339785%2526relation%253Dparent.parent%26header%3Dtrue%26href%3Dhttps%253A%252F%252Fwww.facebook.com%252Frodgerstaekwondo%26locale%3Den_US%26sdk%3Djoey%26show_border%3Dtrue%26show_faces%3Dtrue%26stream%3Dtrue%26width%3D292. Domains, protocols and ports must match.

Open in new window


I'm assuming this is an indicator of my not doing something correctly, but I don't know the problem may be.

Thoughts?
Avatar of Bruce Gust
Bruce Gust
Flag of United States of America image

ASKER

I should say too that while I created this like box while logged in under my name, it was assigning the same app id as a previous app that's currently in Sandbox mode. Is this a problem?
SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was recently made an administrator of Rodgers TKD's Facebook. When I went in to create a like box, I was prompted to recognize that I was entering the Facebook developer's dynamic as "Bruce Gust" and the APP id was going to be categorized under a previous project.

I'm thinking that's where everything is getting fouled up: I'm referencing a URL that's not consistent with the app id, but I'm confused as to how I need to start from scratch and ensure that everything's lining up the way that it needs to.

What do you think?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I figured it out. Thanks for the feedback, folks!