android中Facebook上的文本数据共享
我想在Facebook wall.using ACTION_SEND上共享文本数据android中Facebook上的文本数据共享,android,android-intent,share,Android,Android Intent,Share,我想在Facebook wall.using ACTION_SEND上共享文本数据 Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send."); sendIntent.s
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent, "Share"));
文本在所有应用程序(Twitter、消息、电子邮件)上共享,但不在Facebook墙上共享。当我从弹出窗口单击Facebook图标时,Facebook页面打开,但我要共享的文本数据在Facebook编辑框(张贴到墙)上不可见。Facebook墙的编辑框显示为空 Facebook应用程序强制执行此操作-如果您尝试使用预填充文本(put extra)共享某个内容,应用程序不知道该内容是由用户编写的还是由应用程序填写的,因此根据其策略,它不做任何假设,忽略该文本,并要求用户编写文本 ,在 四、 应用程序集成点