עזרה | עזרה ביצירת Webhook
-
אם מישהו כבר התנסה עם ב Webhook אם יוכל ליצור איתי קשר במייל ybuda42@gmail.com
@אביי @ראובן-שבתי אשמח לעזרתכם
יש לי כבר מייל עיסקי
-
אם מישהו כבר התנסה עם ב Webhook אם יוכל ליצור איתי קשר במייל ybuda42@gmail.com
@אביי @ראובן-שבתי אשמח לעזרתכם
יש לי כבר מייל עיסקי
-
@מגנוס-קרלסן כשאתה אמר Webhook אתה מתכוון לגוגל צ'אט?
הראיה שלי מכאן
Webhook זה לא קשור לצ'אטים
(בצ'אטים אפשר לעשות Webhook)ניחוש שלי: מכאן לא תקבל עזרה
-
אם מישהו כבר התנסה עם ב Webhook אם יוכל ליצור איתי קשר במייל ybuda42@gmail.com
@אביי @ראובן-שבתי אשמח לעזרתכם
יש לי כבר מייל עיסקי
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); } -
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }אני צריך שזה יהיה תואם לאפס סקריפט
-
@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }אני צריך שזה יהיה תואם לאפס סקריפט
@מגנוס-קרלסן כתב בעזרה | עזרה ביצירת Webhook:
לאפס סקריפט
?
כוונתך ל apps script של גוגל?
כן, זה תואם. -
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }מה עושה הקוד הזה?
-
@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }מה עושה הקוד הזה?
@שמואל-ש כתב בעזרה | עזרה ביצירת Webhook:
@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }מה עושה הקוד הזה?
שולח הודעה מסויימת שלא מעניינת אותך
אתה משנה את הערכים שהפונקציה מקבלת ואת הערך של ה text למה שאתה רוצה -
@שמואל-ש כתב בעזרה | עזרה ביצירת Webhook:
@האדם-החושב כתב בעזרה | עזרה ביצירת Webhook:
@מגנוס-קרלסן
משהו בסגנון הזה:function webhook(did, callerIdNum, duration, path, transferFrom, timeAndDate) { const url = "https://chat.googleapis.com/v1/spaces/c"; const options = { "method": "post", "headers": {"Content-Type": "application/json; charset=UTF-8"}, "payload": JSON.stringify({ "text":`*׳׳¢׳¨׳›׳×:* ${did}\n*׳׳¡׳₪׳¨ ׳˜׳׳₪׳•׳:* ${callerIdNum}\n*׳׳©׳ ׳”׳©׳™׳—׳” ׳‘׳©׳ ׳™׳•׳×:* ${duration}\n*׳ ׳›׳ ׳¡ ׳׳©׳׳•׳—׳”:* ${path}\n*׳”׳•׳¢׳‘׳¨ ׳׳׳¢׳¨׳›׳×:* ${transferFrom}\n*׳×׳׳¨׳™׳:* ${timeAndDate}` }) }; const response = UrlFetchApp.fetch(url, options); }מה עושה הקוד הזה?
שולח הודעה מסויימת שלא מעניינת אותך
אתה משנה את הערכים שהפונקציה מקבלת ואת הערך של ה text למה שאתה רוצה@מתכנת-חובב אבל אם אני רוצה להוציא מאיזה אתר חדשות כל מיני כתבות איך אני עושה את זה?
שלום! נראה שהשיחה הזו מעניינת אותך, אבל עדיין אין לך חשבון.
נמאס לכם לגלול בין אותם הפוסטים בכל ביקור? כשנרשמים לחשבון, תמיד תחזרו בדיוק למקום שבו הייתם קודם, ותוכלו לבחור לקבל התראות על תגובות חדשות (בין אם במייל, ובין אם בהתראת פוש). תוכלו גם לשמור סימניות ולפרגן ב-upvote לפוסטים כדי להביע הערכה לחברי קהילה אחרים.
בעזרת התרומה שלך, הפוסט הזה יכול להיות אפילו טוב יותר 💗
הרשמה התחברות