简体   繁体   中英

Facebook share dialog is dismissed

I've got this issue in my application:

  • I've implemented a fully functional Facebook Share Dialog - works great on my testing device (I've added the dev key hash to FB platform)

  • I've generated a signed apk for release (I've added the release key hash to FB platform, too).

  • I test the release signed apk on my device (Nexus5) - works great

  • I test the release signed apk on other devices - it is dismissed a second after I show it.

Has anyone got any idea what's up with this behaviour? I cannot find a reasonable why it would do this.

Also, later, I've clear the data from the FB app on that device and it worked well. I can't tell if it will or won't work on the user's devices, and I cannot assume that the users will clear their FB app data just to make my app work, so I'm not sure exactly what should I do.

Thank you

I figured out what the problem was. The app was still on Development mode in Facebook Dashboard. I switched to Public and it worked

there are two keyhashes to be added on the facebook dev account

  1. the debug keyhash which is generated when you run the application from eclipse
  2. the keyhash generated after apk is made.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM