[英]Text doesnt show up when I share it to facebook (android studio)
[英]Android Share text not showing up in Facebook
我有一个共享按钮,单击时我想打开共享窗口,因此用户可以在社交网络中共享此文本。 问题是facebook,它不接受传递给意图的EXTRA_TEXT
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
String shareBody = "Here is the share content body";
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject Here");
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
startActivity(Intent.createChooser(sharingIntent, "Share via"));
每个其他共享选项(twitter,tumblr ...)工作正常,只是Facebook提出问题...我怎么能解决这个问题,而不必为了这个目的创建一个全新的facebook sdk类?
Facebook应用程序不处理EXTRA_SUBJECT或EXTRA_TEXT字段。
这是错误链接: https : //developers.facebook.com/bugs/332619626816423
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.