Академический Документы
Профессиональный Документы
Культура Документы
Stack Overflow
log in
facebook-messenger
Is there a way to share a text in facebook messenger using android and maybe facebook sdk as well?
I want to make something like the whatsapp way, choose your text and open an intent to choose the guy you want to send to... Is there a way to do this
with facebook messenger? It appears in the intent.choose dialog..but I only want to send to facebook messenger..
share
Paul
1,978 2 14 38
Asked
Sep 29 '14 at 13:58
ligi
16.5k 21 64 108
Edited
Sep 29 '14 at 14:00
Once you know the text that you want to share , you can use the shareACtion to directly share on messenger and messenger will let you decide which person to send this text to .
Kiloreux Sep 29 '14 at 14:07
Checkout gist.github.com/gelldur/9c199654c91b13478979 You can share by Messanger Dawid Drozd May 27 '15 at 10:44
Well that is on iOS bro... Paul Dec 23 '15 at 9:34
add a comment
3 Answers
Order By
Votes
EDIT:
Beginning early May 2015 Messenger no longer register itself as share intent target. Until it changes, code above won't work.
share
Answered
Sep 29 '14 at 14:07
Edited
May 11 '15 at 0:38
@WizKid we can do this on Android but not ios, cant we ? Why fb does not let ios to send text over Messenger ? alicanbatur Mar 10 '15 at 9:34
Beginning early May 2015 Messenger no longer register itself as share intent target. Until it changes, code above won't work. tomash May 4 '15 at 12:36
Thanks Tomash.. unfortunate.. will update the same.! Dhina May 11 '15 at 0:37
Messenger shows up in the default system sharing picker when you share text in chrome, so it must've been added back. Tyler Pfaff Apr 21 at 23:38
share
Answered
Apr 15 '15 at 13:13
share
alternatively, you can use their messenger sdk (https://developers.facebook.com/docs/messenger/android) and that will pop up a screen
where you can select one or many users to send the message to. Only catch is you can't prefill the text , but you can attach rich media.
Your Answer
Answered
Nov 11 '15 at 22:55
log in
or
Name
By posting your answer, you agree to the privacy policy and terms of service.
meta chat tour help blog privacy policy legal contact us full site
Download the Stack Exchange Android app
2016 Stack Exchange, Inc