I have an android application, and I added a share on facebook option, as described here:
https://developers.facebook.com/docs/android/share/
On my smartphone the share dialog works perfectly, yet on all my friends phones the dialog opens and closes instantly. I asked one of them to send me logcat output and this is what he saw:
E/Parcel(2939): Class not found when unmarshalling: com.facebook.ipc.composer.intent.SharePreview,
e: java.lang.ClassNotFoundException: com.facebook.ipc.composer.intent.SharePreview
I do not know what that class is, and found nothing on google about it. The facebook package I downloaded did not contain it. I am not sure this is what is causing the share dialog to close instantly, but it is a prime suspect.
I will be glad if you can help!
It seems your facebook app is on sandbox mode.
For it to work, you have to set up your facebook app at developers.facebook.com to production mode, then and only then other people will be able to use it. Else the only one who could use it is the facebook user who created the app.
For more info about sandbox mode go here:
https://developers.facebook.com/docs/web/tutorials/scrumptious/register-facebook-application/
Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With