Home Facebook ShareLinkContent cut quote KitKat 4.4.4 (android api 19)
Reply: 0

Facebook ShareLinkContent cut quote KitKat 4.4.4 (android api 19)

Dika
1#
Dika Published in 2017-12-05 13:52:45Z

So I use Android Studio 3.0.1, maven like this:

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'

I followed everything from https://developers.facebook.com/docs/sharing/android

but when using Facebook ShareLinkContent like this:

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);

I got inconsistent share content. on Redmi Xiaomi 2 Kitkat 4.4.4 API 19 the share content is:

but on AVD Emulator Nexus 5X Nougat 7.0 API 24 the share content displayed is normal (no cut)

Why is this happened? For any help, Thanks in advance!

UPDATE: per @CBroe comment, I checked the actual share result and both are fine. but I still think this is a bug and should be reported to Facebook.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.297767 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO