当我尝试在我的 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/