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.
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.