dickhardt / A2P3_HTML

HTML / CSS / JS issues for A2P3 -- created to track issues
0 stars 0 forks source link

Mobile Safari: Login with Facebook button opens new tab #43

Closed dickhardt closed 11 years ago

dickhardt commented 11 years ago

See https://github.com/dickhardt/A2P3/issues/64

GregTurner commented 11 years ago

I didn't integrate it with facebook, I don't know how it works.

dickhardt commented 11 years ago

As stated, it is not a Facebook issue. I changed the parameter so that Facebook does not auto login and now the page is stuck once the user has logged in on mobile safari.

If you don't want help fixing it, that is your choice. It clearly is broken, and it is HTML. I'll let the client say how he wants it addressed.

On Mar 22, 2013, at 4:25 PM, GregTurner notifications@github.com wrote:

I didn't integrate it with facebook, I don't know how it works.

— Reply to this email directly or view it on GitHub.

watkinspd commented 11 years ago

I think the issue I replicated is the one raised here: If you try to enroll the agent directly Safari redirections between setup.a2p3.net and facebook dont work and the user is stuck in a kind of no-mans land. To replicate this reliably you have to: 1 - delete yourself from setup.a2p3.net 2 - delete the A2P3 app from your facebook account using facebooks account settings 3 - ensure you are logged out of facebook in safari on iOS 4 - reset the agent 5 - proceed to re-enroll --- the issue comes up when you go to install the A2P3 app against your facebook account, safari winds up displaying its pages in the zoomed back style where it's showing you all the tabs or web sites you have open and the enrolment process is effectively hung at that stage

GregTurner commented 11 years ago

Dick, what about changing the facebook logon to the OAuth redirect instead of that popup? This will solve two issues, this pop-up problem and the facebook button jumping around.

Example:

http://www.permadi.com/tutorial/facebook-oauth-and-dialog-example/

dickhardt commented 11 years ago

popup is proven to provide a better UX on PCs -- how about you research to see how other people solve these issues? they can't be new.

On Mar 27, 2013, at 8:41 AM, GregTurner notifications@github.com wrote:

Dick, what about changing the facebook logon to the OAuth redirect instead of that popup? This will solve two issues, this pop-up problem and the facebook button jumping around.

Example:

http://www.permadi.com/tutorial/facebook-oauth-and-dialog-example/

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

lots of questions out there and no answers.. feel free to research yourself.

dickhardt commented 11 years ago

other sites have solved it because they have a popup on PC and you can login on mobile Safari

if you want me to solve it, then I want compensated for it

On Mar 27, 2013, at 9:17 AM, GregTurner notifications@github.com wrote:

lots of questions out there and no answers.. feel free to research yourself.

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

Lots of reports, and apparently its fixed (see link below) but it seems to still be a problem. Its fine on the first run through but then fails if you repeated try enrolling. I haven't seen a workaround except using OAuth directly instead of the FB JS SDK. Could detect if using mobile then go to redirect mode.

https://developers.facebook.com/bugs/405602216174493/

GregTurner commented 11 years ago

I think I have a pretty slick working solution.... change coming soon.

GregTurner commented 11 years ago

testing complete. works like a charm.