chechu/grails-facebook-graph — Issue #11: plugin stopped working 
Author: romanye
Created: 2011-12-23 06:03:05+00:00
State: open

It seems that recent FB API changes may have broken the plugin in in all browsers. Up until a week or so ago the plugin worked fine and without any problems (great job, BTW). However, about a week or so ago it stopped working altogether.

The first issue which can be easily fixed is the use of the 'perms' parameter in the fb:login-button tag. This parameter was renamed to 'scope'.

The second issue which I haven't been able to resolve outside of the plug-in is caused by what seems to be a stricter cross-frame security policy. Upon clicking to eh FB button the JS console shows the following error message:
"Unsafe JavaScript attempt to access frame with URL https://s-static.ak.fbcdn.net/connect/xd_proxy.php? ...
from frame with URL . Domains, protocols and ports must match."

It is important to note (and I haven't tried it yet) that my current domain is not secure (protocol is http and not https).
I wonder if anybody else has experienced this and was able to solve the second issue.

Thanks,

Yehuda Romano