(React Native) How to share a message to a particular person on LinkedIn

微笑、不失礼 提交于 2019-12-24 10:37:31

问题


I'm working on a react-native app in which I need to share a message with a particular person/friend/connection on LinkedIn.

I tried react-native's Share component but when I select the LinkedIn app to share my message, it just post the message to my profile wall (and not sending it to a particular connection).

Other apps like Facebook Messenger for example, when I select Share with Messenger it allows me to send the share message to the user(s) I select.


回答1:


For me you have 3 possibilities:

  • To find the right Linkedin App callback url (ex: linkedin://profile?id=[id]), my answer on this question should help you.
  • To look if using the react-native-share dependency can help you.
  • To implement and use a Native Module with the Linkedin SDK.


来源:https://stackoverflow.com/questions/53018637/react-native-how-to-share-a-message-to-a-particular-person-on-linkedin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!