import { fetch } from 'wix-fetch'; export function getAccessToken(code) { const LINE_CHANNEL_ID = 'YOUR_CHANNEL_ID'; const LINE_CHANNEL_SECRET = 'YOUR_CHANNEL_SECRET'; const REDIRECT_URI = 'YOUR_REDIRECT_URI'; const tokenPayload = { grant_type: 'authorization_code', code: code, redirect_uri: REDIRECT_URI, client_id: LINE_CHANNEL_ID, client_secret: LINE_CHANNEL_SECRET }; return fetch('https://api.line.me/oauth2/v2.1/token', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: new URLSearchParams(tokenPayload) }) .then(response => { if (!response.ok) throw new Error('Network response was not ok'); return response.json(); }); }
top of page

​好友募集中

L_gainfriends_2dbarcodes_GW.png
營業時間opening hours

星期一-星期六

 

2pm-8pm

*若欲試聽建議來之前先電話預約,有時會因服務而外出不在店內。

© 2015 方舟音響有限公司 ARK AUDIO

​台北市大安區忠孝東路三段248巷15號

  • Facebook Clean
bottom of page