From 9bd1a8c1f68a9fbf4b1fa02aaadc968b5d7e17fc Mon Sep 17 00:00:00 2001 From: hwanheejung Date: Fri, 27 Sep 2024 22:55:46 +0900 Subject: [PATCH] #127 fix: instagram share redirect to dm --- src/app/board/[boardId]/_hooks/useSnsShare.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/board/[boardId]/_hooks/useSnsShare.ts b/src/app/board/[boardId]/_hooks/useSnsShare.ts index 626b3e5..ab28b72 100644 --- a/src/app/board/[boardId]/_hooks/useSnsShare.ts +++ b/src/app/board/[boardId]/_hooks/useSnsShare.ts @@ -94,10 +94,10 @@ const useSnsShare = () => { let url if (isIOS) { - url = 'https://www.instagram.com/create/story' + url = 'https://www.instagram.com/direct' } else if (isAndroid) { url = - 'intent://instagram.com/#Intent;scheme=https;package=com.instagram.android;end' + 'intent://instagram.com/direct/inbox/#Intent;scheme=https;package=com.instagram.android;end' } else { url = 'https://www.instagram.com/' }