kennylerma / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Facebook login redirects back to login screen as of Wednesday #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to log in to facebook. (In air, using the latest desktop API)
2. Enter creditentials
3. Before the extended permissions screebn I get redirected to the login screen.

What is the expected output? What do you see instead?
Insted of the extended permissions screen, I'm redirected to the login screen 
again.

What version of the product are you using? On what operating system?
Latetest Desktop API, in an air app, on OS X

Please provide any additional information below.
After tracing the requested URL's from the app, I get the following:

https://graph.facebook.com/oauth/authorize?client%5Fid=.....
https://www.facebook.com/login.php?api_key=xxxx&skip_api_login=1&display=popup..
..
>I type my creditentials >
https://login.facebook.com/login.php?login_attempt=1&popup=1&fbconnect=1&display
=popup&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fmethod%3Dpe
rmissions.request%26app_id%xxx%26display%3Dpopup%26redirect_uri%3Dhttp%253A%252F
%252Fwww.facebook.com%252Fconnect%252Flogin_success.html%26type%3Duser_agent%26f
bconnect%3D1%26perms%3Duser_photos%252Cpublish_stream%26from_login%3D1&legacy_re
turn=1
> now I should be redirected to the extended permissions screen, as you see it 
in the next param var.
https://www.facebook.com/login.php?api_key=xxxx&skip_api_login=1&display=popup&c
ancel_url=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3Ferror_r
eason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bd
enied%2Byour%2Brequest.&fbconnect=1&next=http%3A%2F%2Fwww.facebook.com%2Fconnect
%2Fuiserver.php%3Fmethod%3Dpermissions.request%26app_id%3D173409532692193%26disp
lay%3Dpopup%26redirect_uri%3Dhttp%253A%252F%252Fwww.facebook.com%252Fconnect%252
Flogin_success.html%26type%3Duser_agent%26fbconnect%3D1%26perms%3Duser_photos%25
2Cpublish_stream%26from_login%3D1
>But insted of that I get redirected to the login screen again.

The strange thing that this app was working fine on Tuesday.

Thanks in advance

Original issue reported on code.google.com by k3m...@gmail.com on 13 Jan 2011 at 10:55

GoogleCodeExporter commented 9 years ago
We were unable to reproduce this in OSX on our end, are you still having 
trouble with this issue? If so, can you post your code snippet for login?

Original comment by edwar...@gmail.com on 13 Jan 2011 at 8:30

GoogleCodeExporter commented 9 years ago
I was redirecting the HTML output to a custom  HTMLLoader object (instead off 
the popup window), and I was also turning cookies on & off on order to make 
facebook forget the previously entered email address (the app is used in public 
kiosk).

When I was turning the cookies back on, I was checking for the url 
(http://www.facebook.com/login.php?), but facebook changed the url to 
https://www.facebook.com/login.php?, so my the app never turned the cookies 
back on. That caused the problem.

Anyhow, thanks for the quick response, and sorry for the invalid bug report.

Original comment by k3m...@gmail.com on 13 Jan 2011 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by edwar...@gmail.com on 6 Oct 2011 at 5:50