You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While logging through Facebook for Android, got following authentication error in logs.
"Key com.facebook.platform.protocol.PROTOCOL_VERSION expected String but value was a java.lang.Integer. The default value was returned."
Problem : probably facebook_app_id is taken up from 'socialize.properties' and sent to facebook as Integer, while it is to be received in Facebook SDK in 'AuthorizationClient' file, line 820.
Solution: have changed the above line in Facebook SDK to "addLoggingExtra(EVENT_EXTRAS_PROTOCOL_VERSION, String.valueOf(intent.getIntExtra(NativeProtocol.EXTRA_PROTOCOL_VERSION, 0)));"
Note: Ideal solution is to pass facebook_app_id as String.
The text was updated successfully, but these errors were encountered:
Have found the following bug and fixed it.
While logging through Facebook for Android, got following authentication error in logs.
"Key com.facebook.platform.protocol.PROTOCOL_VERSION expected String but value was a java.lang.Integer. The default value was returned."
Problem : probably facebook_app_id is taken up from 'socialize.properties' and sent to facebook as Integer, while it is to be received in Facebook SDK in 'AuthorizationClient' file, line 820.
Solution: have changed the above line in Facebook SDK to "addLoggingExtra(EVENT_EXTRAS_PROTOCOL_VERSION, String.valueOf(intent.getIntExtra(NativeProtocol.EXTRA_PROTOCOL_VERSION, 0)));"
Note: Ideal solution is to pass facebook_app_id as String.
The text was updated successfully, but these errors were encountered: