Facebook sdk send method in ReactJs
Asked Answered
R

0

0

I added the facebook sdk according to docs:

FB.ui({
  method: 'send',
  link: 'http://www.nytimes.com/interactive/2015/04/15/travel/europe-favorite-streets.html',
});

When i type in message field: enter image description here the link: http://www.nytimes.com/interactive/2015/04/15/travel/europe-favorite-streets.html is overridden in the chat and appears just the message, but i want to keep both message and link that is sent in the chat. Why this happens and how to solve?

Rolanda answered 16/3, 2021 at 11:51 Comment(4)
sounds like a but if message or link does not appear in the chat after send...maybe file a bug report on facebook?Chessy
@luschn, if i choose a friend and don't type something in the message filed then the link from FB.ui appears in the facebook chat, but if i choose a friend and after that i type a message in the message field, then in facebook chat appears just the message that typed, without the link. Why, do you think that this happens? Did you faced you the same issue?Rolanda
@luschn, maybe file a bug report on facebook, what do you mean?Rolanda
developers.facebook.com/support/bugsChessy

© 2022 - 2024 — McMap. All rights reserved.