Skip to content

Facebook integration issue #29

Open
@achin42

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions