Category:

Share Status on Facebook Android

This tip help you to share some text/link to Facebook from your android application. Copy below code and place where you you want to share no Facebook SDk integration required. String urlToShare = “https://trinitytuts.com”; Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(“text/plain”); // intent.putExtra(Intent.EXTRA_SUBJECT, “Foo bar”); // NB: has no effect! intent.putExtra(Intent.EXTRA_TEXT, urlToShare); // See if official […]

Continue Reading
Posted On :