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

No event for Facebook login failure on Windows 8 #81

Open
WheretIB opened this issue May 5, 2015 · 0 comments
Open

No event for Facebook login failure on Windows 8 #81

WheretIB opened this issue May 5, 2015 · 0 comments

Comments

@WheretIB
Copy link

WheretIB commented May 5, 2015

If Facebook login is unsuccessful (throws an exception), LoginWithBehavior function calls internal OnSessionStateChanged event, but does not call public OnFacebookAuthenticationFinished event to report the condition to the application:

https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/blob/master/Source/Facebook.Client/Session.cs#L513-L534

Note that Windows Phone login is implemented using Uri handling that contains a call to this event with a null pointer:

https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/blob/master/Source/Facebook.Client/FacebookUriMapper.cs#L76

You can also fix this issue by making session change delegate public.

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

1 participant