Ste*_*one 5 android share facebook
我在我的应用上添加了一个共享功能,如下所示:
Intent share = new Intent(android.content.Intent.ACTION_SEND);
share.setType("text/plain");
// Add data to the intent, the receiving app will decide what to do with it.
share.putExtra(Intent.EXTRA_TEXT, toShare);
startActivity(Intent.createChooser(share, getResources().getString(R.string.share)));
Run Code Online (Sandbox Code Playgroud)
当我选择与Facebook分享时,我可以看到正确的图像预览:

只有当我与Android共享时才会发生这种情况,如果我从iOS共享,则图像预览会正确显示.你知道什么是问题吗?以下是共享链接的示例:http://pixide.org/it/share/?t = F61CAD079F61F540757E569F68332275
谢谢
| 归档时间: |
|
| 查看次数: |
141 次 |
| 最近记录: |