質問するログイン新規登録

質問編集履歴

1

不足箇所の追加

2020/06/01 14:05

投稿

fbjndfg
fbjndfg

スコア0

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,7 @@
2
2
  GASで実行しています。
3
3
 
4
4
  以下のように書いたのですが、あっているのでしょうか?
5
+ memberIdsを取得できるでしょうか?
5
6
  ```GAS
6
7
  CHANNEL_ACCESS_TOKEN ='';
7
8
 
@@ -15,6 +16,8 @@
15
16
  };
16
17
  const requestUrl = "https://api.line.me/v2/bot/group/" + groupId + "/members/ids";
17
18
  const a = UrlFetchApp.fetch(requestUrl, params);
19
+      const memberIds = JSON.parse(a.postData.contents).memberIds;
20
+
18
21
  ```
19
22
  以下がlineのリファレンスです。
20
23
  https://developers.line.biz/ja/reference/messaging-api/#get-group-member-user-ids