Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB oAuth 2.0 update breaks plugin #40

Closed
loganbest opened this issue Dec 13, 2011 · 9 comments
Closed

FB oAuth 2.0 update breaks plugin #40

loganbest opened this issue Dec 13, 2011 · 9 comments

Comments

@loganbest
Copy link

With today's Facebook update all apps that are using this plugins Facebook Login is broken, including the demo on facebook.webtechnick.com.

This needs to be fixed as it cripples many sites.

@sbacelic
Copy link

Looks like a problem with cross domain communication:

Unsafe JavaScript attempt to access frame with URL https://s-static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=f15e82491c&origin=http%3A%2F%2Flocalhost.localdomain%3A8080%... from frame with URL http://localhost.localdomain:8080/. Domains, protocols and ports must match.

This will be a long night 4 me ;) when and If found a solution I'll share here

@loganbest
Copy link
Author

Same here haha.

@loganbest
Copy link
Author

On /views/helpers/facebook.php:416 you should see:

xfbml : true // parse XFBML

If you change that to this:

xfbml : true, // parse XFBML
oauth: false

Then the fblogin will be able to work, although I'm afraid as to how long that will be able to work since Facebook is now Mandating that everyone use OAUTH to login and logout.

via: https://developers.facebook.com/blog/post/525/

@sbacelic
Copy link

Tnx, I needed quick fix as site was unusable atm :)

@loganbest
Copy link
Author

Hopefully we get a permanent fix soon...

@webtechnick
Copy link
Owner

I'm working on a permanent resolution.

@webtechnick
Copy link
Owner

Updated to 3.1.1 in master -- merged php_sdk_3 after update to newest PHPSDK. Working in dev and production demo: http://facebook.webtechnick.com

Please update your applications accordingly. Enjoy!

CakePHP 2.0 development is still going strong, hope to have a RC soon.

@mattjwhelan
Copy link

We're using this plugin on a handful of sites in Asia. We're not terribly familiar w/ the Facebook APIs/SDKs on a technical level. Will very much appreciate the permanent fix when it comes. Thanks for maintaining this code. :)

@sbacelic
Copy link

Permanent fix is already deployed, problem was with old FB SDK. Just update your code from master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants