Facebook ShareLinkContent削减报价KitKat 4.4.4(android api 19)

时间:2017-12-05 13:52:46

标签: android facebook maven facebook-graph-api facebook-android-sdk

所以我使用的是Android Studio 3.0.1,就像这样:

implementation 'com.facebook.android:facebook-core:4.27.0'
implementation 'com.facebook.android:facebook-login:4.27.0'
implementation 'com.facebook.android:facebook-share:4.27.0'

我关注了https://developers.facebook.com/docs/sharing/android

中的所有内容

但在使用Facebook ShareLinkContent时:

ShareLinkContent linkContent = new ShareLinkContent.Builder()
  .setContentUrl(Uri.parse("https://play.google.com/store/apps/details?id=com.bei5000.debm&hl=in"))
  .setQuote(MyApplication.getContext().getString(R.string.game_yes_no_fb_quote, String.valueOf(playerScore * 1000)))
.build();

shareDialog.show(linkContent);

我的分享内容不一致。关于Redmi Xiaomi 2 Kitkat 4.4.4 API 19的共享内容是: Share Content Displayed in Kitkat

但是在AVD Emulator Nexus 5X Nougat 7.0 API 24上显示的共享内容是正常的(没有剪切) Share Content Displayed in Nougat

为什么会这样?如有任何帮助,请提前致谢!

更新:根据@CBroe评论,我检查了实际的分享结果,两者都没问题。但我仍然认为这是一个错误,应该向Facebook报告。

0 个答案:

没有答案