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

Exception while accessing Facebook.Client.Session.ActiveSession.CurrentAccessTokenData #80

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

Comments

@WheretIB
Copy link

WheretIB commented May 5, 2015

On access to Facebook.Client.Session.ActiveSession.CurrentAccessTokenData, GetSessionData() might throw an exception:
https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/blob/master/Source/Facebook.Client/Session.cs#L184

There is an error in XML document (2, 2). at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, Object events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Facebook.Client.AccessTokenDataIsolatedStorageCacheProvider.GetSessionData()
at Facebook.Client.Session.get_CurrentAccessTokenData()

Broken session data will block further login attempts.

@WheretIB WheretIB changed the title Exception while accessing Facebook.Client.Session.ActiveSessionCurrentAccessTokenData Exception while accessing Facebook.Client.Session.ActiveSession.CurrentAccessTokenData May 5, 2015
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