Arindam Mukherjee
Arindam Mukherjee

Reputation: 2285

How to share my app in facebook directly in android?

From my app, i am sharing the details in the facebook. But when i am clicking in the share button, it is first showing a drop-down list with facebook, gmail, tweeter etc. If i choose the facebook, then it is taking me to facebook and able to share there.

final Intent intent = new Intent(Intent.ACTION_SEND);
    intent.setType("text/plain");
    intent.putExtra(Intent.EXTRA_TEXT, "https://market.android.com/details?id=com.healthtap.userhtexpress&feature=featured-apps#?t=W251bGwsMSwyLDIwMywiY29tLmhlYWx0aHRhcC51c2VyaHRleHByZXNzIl0.");
    startActivity(Intent.createChooser(intent, "Share with"));

But, i do not want that drop-down. I want to go directly to the facebook page when i will click to the facebook share button. How it is possible??

Upvotes: 1

Views: 1903

Answers (0)

Related Questions