android - 在 Facebook 上分享 Google Play 链接和错误的缩略图

标签 android facebook

当我尝试在我的 android facebook 应用程序上发布链接时,缩略图是错误的。它是来自网站的随机图像。我有:

Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT, "my google play link");
startActivity(Intent.createChooser(intent, "Share with"));

我该如何解决?

最佳答案

你无法解决这个问题,Google 的 play 商店没有 og metadata tags在他们的网页上指定在 Facebook 上共享时要使用的图像。因此,Facebook 将只选择一个显示在 Composer 中,您无能为力。

关于android - 在 Facebook 上分享 Google Play 链接和错误的缩略图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12264418/

相关文章:

java - Gradle Android "Duplicate class foo found in module bar"错误

android - 在 adb logcat 终端中过滤应用程序

android - 无法解析依赖android studio

java - 检索 Facebook 个人资料图片

ios - UIActivity和AVAsset数据类型的用法

javascript - 嵌入 Youtube + Facebook 帖子

javascript - 在不重新加载页面的情况下更改 URL 变量

android - Firebase 实时数据库在 Amazon Kindle Fire 设备上崩溃

android - flutter_inappwebview 和 flutter_downloader - 不知道我做错了什么?

javascript - Meteor:从服务器下载网页