0

I have to share data new_link as well as news_title I am able share data news_link But I want to share News_title also with news_link.

please tell me how i will do this Here is my code:

Intent i = new Intent(Intent.ACTION_VIEW); 
i.setData(Uri.parse("https://m.facebook.com/sharer.php?u="+news_link+"&_rdr"))
startActivity(i);
CharlesB
  • 86,532
  • 28
  • 194
  • 218
user1648109
  • 31
  • 1
  • 5

1 Answers1

0

I think this link can help you: Facebook and twitter share for mobile web You just have to provide the "t" argument for title (when facebook API is not buggy)

Community
  • 1
  • 1
Aerilys
  • 1,628
  • 1
  • 16
  • 22