facebook-csharp-sdk / facebook-winclient-sdk

Facebook SDK for Windows & Windows Phone
http://facebooksdk.net
Apache License 2.0
61 stars 139 forks source link

WP8.1 SL MethodAccessException on method method 'Facebook.HttpHelper.UrlDecode(System.String)' #73

Closed mendoncaftw closed 5 years ago

mendoncaftw commented 9 years ago

Others have also experienced this problem: 1 - http://stackoverflow.com/questions/28655465/access-method-facebook-httphelper-urldecodesystem-string-failed-winphone8 2 - http://stackoverflow.com/questions/29098070/methodaccessexception-in-using-facebook-csdk-for-windows-phone-8-1-silverlight

After being redirected from the browser to the app the following exception occurs:

{System.MethodAccessException: Attempt by method 'Facebook.Client.AppAuthenticationHelper.GetQueryStringValueFromUri(System.String, System.String)' to access method 'Facebook.HttpHelper.UrlDecode(System.String)' failed.   at Facebook.Client.AppAuthenticationHelper.GetQueryStringValueFromUri(String uri, String key)   at Facebook.Client.AppAuthenticationHelper.ParseQueryString(AccessTokenData session, String queryString)   at Facebook.Client.FacebookUriMapper.MapUri(Uri uri)   at System.Windows.Navigation.NavigationService.GetMappedUri(Uri uri)   at System.Windows.Navigation.NavigationService.Navigate(Uri source)}

Have installed HttpHelper on my project as well.

kshitijgandhi commented 9 years ago

@CYBERRRR today an update was introduced in the source "Fix WP8 redirect issue introduced by PR #75". Is this a fix to this problem? I am also encountering this issue. I need help in using the SDK to implement Facebook Login in Windows Phone.