开发者

Problem with the way Facebook handles share function on Android

My app has the share intent which displays a list of Apps which can be used to share. I am doing it like this.

final Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, "Cool app");
intent.putExtra(Intent.EXTRA_TEXT, "Check out www.myappurl.com");
startActivity(Intent.createChooser(intent, "Share"));

This works perfectly for every other app.

However if the user chooses facebook, then Facebook only takes the URL and pulls in con开发者_开发技巧tent from the URL it does not display the "Check out" part at all, this makes it seem like I am spamming peoples walls instead of actually letting them share what they want to share.

Anyone have any solutions?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜