I use the following code to share content
Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_TEXT, "The status update text"); startActivity(Intent.createChooser(intent, "Dialog title text"));
This is normal for email, SMS and everything except Facebook . I will explain the reason, and it seems that this is a mistake on facebook from April, but, unfortunately, no one is fixing it.
However, I found that many applications can still use the chooser intent to quickly call Facebook, such as Google reader. How can they do this?
As I know, we can use the Facebook API, but how can they know that the user selects facebook in chooser and the facebook API is called?
source share