Closed oscardelben closed 13 years ago
The problem is that in the first case, the request follows a redirect that contains the access token. I'm trying to edit the code to take into account this,
Found the problem, working on a pull request.
You've got a pull request.
Awesome. I sent it back for a bit of an update. Thanks!
Hi Oscar, let me know if we can close this issue now. Thanks!
Yes.
Hi,
I've noticed some problems regarding the popup not showing up in some occasions. It seems that the error occurs when https settings are turned on in the facebook-security settings.
My colleague is not able to see the login dialog at all, while I get a "success" message in the UI after I give permission. I'm not sure why he doesn't see the popup at all, but he's what he gets from xcode:
Initialized with AppID '214200101933949' didCommitLoadForFrame: {https://www.facebook.com/connect/uiserver.php?app_id=214200101933949&method=permissions.request&display=popup&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html&type=user_agent&fbconnect=1&perms=publish_stream} didFinishLoadForFrame: {https://www.facebook.com/connect/uiserver.php?app_id=214200101933949&method=permissions.request&display=popup&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html&type=user_agent&fbconnect=1&perms=publish_stream}
This is what I get instead:
Initialized with AppID '214200101933949' didCommitLoadForFrame: {https://www.facebook.com/login.php?api_key=214200101933949&skip_api_login=1&display=popup&cancel_url=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fmethod%3Dpermissions.request%26app_id%3D214200101933949%26display%3Dpopup%26redirect_uri%3Dhttp%253A%252F%252Fwww.facebook.com%252Fconnect%252Flogin_success.html%26type%3Duser_agent%26fbconnect%3D1%26perms%3Dpublish_stream%26from_login%3D1&rcount=1} didFinishLoadForFrame: {https://www.facebook.com/login.php?api_key=214200101933949&skip_api_login=1&display=popup&cancel_url=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fmethod%3Dpermissions.request%26app_id%3D214200101933949%26display%3Dpopup%26redirect_uri%3Dhttp%253A%252F%252Fwww.facebook.com%252Fconnect%252Flogin_success.html%26type%3Duser_agent%26fbconnect%3D1%26perms%3Dpublish_stream%26from_login%3D1&rcount=1}
I'm not sure why I get a different thing here. Also notice that in my case I have:
https://www.facebook.com/login.php?api_key=214200101933949
where that should be the app id instead. Any idea what's going on?
Here's what I got after login: https://skitch.com/oscardelben/fd5rr/screen-shot-2011-06-09-at-11.36.46-am