Facebook没有从意图中得到消息

时间:2011-11-07 10:29:57

标签: android facebook

我使用了android的内置对话框。 哪个获取正在获取ACTION_SEND意图的所有应用程序。 我的代码是

        Intent sharingIntent = new Intent(Intent.ACTION_SEND);
        sharingIntent.setType("text/plain");            
        sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT,
                sharetext);
        startActivity(Intent.createChooser(sharingIntent, "Share"));

我在列表中收到了蓝牙,gmail,脸书,短信,推特,whatsapp等所有应用

所有应用都收到了我的留言而不是Facebook。 我应该怎么做在Facebook应用程序中发送消息。它将如何检测我的消息。 任何帮助将不胜感激。 感谢。

1 个答案:

答案 0 :(得分:4)

这是一个已知的错误,它记录在Facebook平台开发者论坛上:http://forum.developers.facebook.net/viewtopic.php?id=93900

显然可以在几部手机上在脸书上分享文字,但在其他手机上仍有问题:Share Text on Facebook from Android App via ACTION_SEND