facebook-csharp-sdk/facebook-winclient-sdk

Login not possible anymore

Closed this issue · 4 comments

Hi,

first of all i want to thank you for your great job doing this sdk. But i got an very annoying issue, i can't login with your sdk anymore nor any of our users. Whenever you try to do a login from a clean Install the user will only get displayed a red warning message. I have attached an Image with the error Message. The Text says something like; "SECURITY WARNING: Please treat the URL above as you would your password and do not share it with any"
login error

see the discussion here on this very issue. I just downloaded the source and it did fix the security warning.

http://stackoverflow.com/questions/19149284/facebook-sdk-for-net-security-warning-issue

I have downloaded the client source and fixed it myself. The navigting event in the loginpage needs to parse the success url better and the facebooksessionclient needs to cover the mobile pages from facebook. something like:

#if WINDOWS_PHONE
Uri endUri = new Uri("https://m.facebook.com/connect/login_success.html");
#else
Uri endUri = new Uri("https://www.facebook.com/connect/login_success.html");
#endif

Can you list an app ID with which this repros. I tried with both Facebook.dll and Facebook.Client.dll and this does not seem to repro.

Duplicate of #35