Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Share Target Pickerで実装したいアレコレ
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
cm-nakamura-yuki
March 25, 2020
Technology
8.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Share Target Pickerで実装したいアレコレ
2020/3/25 LINE Developer Community
https://linedevelopercommunity.connpass.com/event/171201/
cm-nakamura-yuki
March 25, 2020
More Decks by cm-nakamura-yuki
See All by cm-nakamura-yuki
AWS x LINE - LINE上でサービス提供するとき、AWSはどう使えばいい?
cmnakamura
0
3.1k
New CX using LINE
cmnakamura
0
3.8k
Developers.IO 2019 Tokyo Sapporo - 「LINEサービスを活用した新しい顧客体験を創造する」」
cmnakamura
1
2.1k
LINE, LINE Pay, Clovaで実現する新しい顧客体験
cmnakamura
1
1.3k
Other Decks in Technology
See All in Technology
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
3
650
E2Eってつらくないですか?E2Eの管理コストを下げる手段とその実践
akaboshinit
6
2.9k
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
140
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
170
1週間、Opus封印でお願いします
kintotechdev
1
430
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
110
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
0
200
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
130
[FECONF-2026] 신대륙을 향한 카카오페이증권 프론트엔드 항해기 (이주승)
l1ghthouse
0
350
Lint の層を組み直した話
bengo4com
2
290
「作れる」と「リリースできる」の間にあったもの── PdMを外して見えた、PdMがやるべき仕事/Buildable ≠ Shippable: What Removing the PM Taught Me About the PM’s Job
yappli_developers
0
430
cdk deployとcdkd deploy、実際にデプロイして5倍速近くの差を実測した
yama3133
1
160
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
How to train your dragon (web standard)
notwaldorf
96
6.9k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
The Limits of Empathy - UXLibs8
cassininazir
2
760
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
520
Exploring anti-patterns in Rails
aemeredith
4
560
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
30 Presentation Tips
portentint
PRO
1
450
Agile that works and the tools we love
rasmusluckow
331
22k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
Transcript
> Yuki Nakamura > CX Div. / Solution Architect 2020.03.25
LINE DC: Share Target Pickerを試してみた Share Target Pickerで実装したいアレコレ
2 Ahoy! 中村 優輝 Yuki Nakamura Classmethod, Inc. CX Div.
- Solution Architect - Product Owner LINE API Expert
3 Developers.IOでLINE APIの紹介 http://developers.io or https://dev.classmethod.jp
4 今⽇伝えたいこと • ユーザー間のサービスを通したコミュニケーションの重要な機能 • 個⼈的な狙い⽬はミニアプリでの購買体験時 • まずはどんどん使おう︕
5 Share Target Picker • LIFFから⾃分の友だち(グループ)へメッセージ送信ができる機能 • Louis Vuitton, ジョルダン乗換案内(同等機能による実装)
シェア機能がサービスのコア機能になっている好事例
6 実装⽅法 • Web、Androidで利⽤可能(iOSは10.3以降リリース待ち) • Share Target Pickerの場合表⽰される認可が少ない liff.shareTargetPicker([ {
type: "text", text: "Hello, World!” } ]) .then( alert("ShareTargetPicker was launched") ) .catch( function(res) { alert("Failed to launch ShareTargetPicker") }) LIFF SDK内の動き(推測) 1. LINEログインで友だち、グループを選択 2. 選択したユーザーへメッセージを送信 するワンタイムトークン発⾏ 3. ワンタイムトークンを使いMessaging API で送信(アプリケーション側で相⼿先 を確認できない)
7 活⽤⽅法 Ex1. カフェのMOP(Mobile Order and Pay) and Delivery /
E-Ticket Share - コーヒーをミニアプリ(LIFFアプリ)で購⼊ - 受取番号、バーコード表⽰URLを友だちにシェア - 友だちが店舗で該当ページを提⽰しコーヒー受取 Ex2. 店舗予約 - アプリ上で店舗予約 - 店舗情報を友だちにシェア - 予約の更新、双⽅でコースや商品予約追加
8 気になっているポイント ユーザーが送信先を選択したかどうかを取得したい(Web) - 別タブで選択する以外のアクションがないためアプリ側のエラーハンドリン グなどが難しい どの友だちにシェアしたかを検知したい - シェアしたURLに特定の友だちだけアクセスできるように制限したい -
購買などは特にセンシティブなのでできると良さそう(PINコードなどで実装 がワークアラウンド)
9 いろんなユースケースに実装して、 サービスブラッシュアップしよう
10