Skip to content

Unable to share with Facebook more things than simple message. #6

@makovkastar

Description

@makovkastar

Trying to call the function
facebook.publishMessage("Look at this great App!",
"Use Android Simple Social Sharing in your project!",
"https://github.com/nostra13/Android-Simple-Social-Sharing",
"Also see other projects of nostra13 on GitHub!",
"http://.......facebook-android-logo-1.jpg",
actions);

causes the following exceptions:
W/Bundle(4031): Key picture expected byte[] but value was a java.lang.String. The default value was returned.
W/Bundle(4031): Attempt to cast generated internal exception:
W/Bundle(4031): java.lang.ClassCastException: java.lang.String cannot be cast to byte[]
...
W/Bundle(4031): Key description expected byte[] but value was a java.lang.String. The default value was returned.
W/Bundle(4031): Attempt to cast generated internal exception:
W/Bundle(4031): java.lang.ClassCastException: java.lang.String cannot be cast to byte[]
...
and more. Posting in that way doesn't work.

Tested on Android 2.2, 2.3.3 and 4.1.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions