0

可能重复:
facebook:您的链接无法共享

我正在添加使用 android 的共享意图从我的应用程序中共享分数的功能:

Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "My Score");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "I scored "+score+" on "+difficultyString+" difficulty.");
context.startActivity(Intent.createChooser(shareIntent, "Share your score"));

当我点击 facebook 的链接时,它会在 facebook 页面上显示“您的链接无法共享”。有什么帮助吗?

4

0 回答 0