how to just share link by ins
ytt123 opened this issue · 3 comments
ytt123 commented
how to just share link by ins
franznkemaka commented
Hi @ytt123,
I guess you want to only share a link on Instagram right?
Then react-native-share is what you actually need.
const shareOptions = {
title: 'Share via',
message: 'some message',
url: 'some share url',
social: Share.Social.INSTAGRAM,
filename: 'test' , // only for base64 file in Android
};
Share.shareSingle(shareOptions)
.then((res) => { console.log(res) })
.catch((err) => { err && console.log(err); });
borrowed from their documentation here.
hope that is what you wanted.
ytt123 commented
I will try it. anyway,thanks.------------------ 原始邮件 ------------------
发件人: "Franz&nbsp;Nkemaka"<notifications@github.com>
发送时间: 2020年9月20日(星期天) 晚上8:57
收件人: "Jobeso/react-native-story-share"<react-native-story-share@noreply.github.com>;
抄送: "杨涛涛"<1185883606@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [Jobeso/react-native-story-share] how to just share link by ins (#41)
franznkemaka commented
You're welcome, if it works, please don't hesitate to close the issue.