ããã«ã¡ããéè¯ã¸ãã¢ã§ãã
Twitter ã§ãã¾ã«è¦ããããããªãã¤ã¼ããã¯ã¼ããã¬ã¹ã¯ãã©ã°ã¤ã³ã§éå»è¨äºãç°¡åã«ã¤ã¶ãããã¿ããã§ãã
ãåããã¨ãã¯ã¦ãªããã°ã§ãããããã¨æ¤ç´¢ããã¨ãããåèªåãªããæ¹ã¯ãããã©å ¨èªåãªããæ¹ã¯è¦ã¤ãããããç¡ããªãä½ããã ã¦ãã¨ã§ãGoogle Apps Script ã§ä½ãã¾ãããå®æã¤ã¡ã¼ã¸ã¯ãã¡ãã
ç»åã使ããªããæé ã解説ãã¦ããã¾ãã
Amazon ãã©ã¤ã ã®ã¡ãªããç·ã¾ã¨ã
ã¹ãã¼ã¹åå¢ï¼ãããã³ä½æ¥ãæé«ã«æãçªã£å¼µããããã³ã©ãã¯
ãAmazonãã©ã¤ã ãå
æãã¾ãï½ã第1ã50åããé¸ã¶çç¬ãã¹ã10
便å©ãªãã¯ããã¯ããã¯ã¦ãªããã°ç¨botãªã© Twitter è¨äº å
¨ã¾ã¨ã
ãããé¨åã«ãªã·ã£ã¬ãªã¢ãã¡ã¼ã·ã§ã³ã追å ããã
å¹ãåºãã«ã¢ãã¡ã¼ã·ã§ã³è¿½å ããæ¹æ³
ä»®æ³é貨ã¦ã§ããã©ã³ãå°å
¥ã§è²ããªã³ã¤ã³ã表示ããã
ãã³ããå°å
¥ãã¯ã¦ãªããã°ã§ã³ãããæ¤åºãã¦éç¥ããæ¹æ³(ä»®)ããã¯ãªå¯¾çã
2018å¹´3æç ã¯ã¦ãªããã°proã»ç¬èªãã¡ã¤ã³ã«ç§»è¡ããæã«ããã㨠ã¾ã¨ã
- ã°ã°ã£ã¦è¦ã¤ããè¨äº
- 使ãæ¹
- 使ãããã«å¿ è¦ãªãã®
- è¨å®æé
- ãã¤ã¼ãå 容ãã«ã¹ã¿ãã¤ãºããã
- ãã¤ã³ãã¨ãè¦å´ããç¹ã¨ã
- ãã®ä» åèã«ãããã¼ã¸
- å°å ¥äºä¾
- ã¾ã¨ã
ã°ã°ã£ã¦è¦ã¤ããè¨äº
ãã¯ã¦ãªããã° éå»è¨äºãããã¯ã¦ãªããã° éå»è¨äº botã ã§æ¤ç´¢ãè¦ã¤ããã®ã¯ä»¥ä¸ã®è¨äºã
ãããã(id:takiji13)ãããæ± ç°ä»®å(id:bulldra)ããããã¤ãã¢ã³ããã¤.ãã¼ãã§ã¼ããããã«ãã·(id:ypmemo)ãããDAC(id:dacs)ãããå³é(id:tiemirin)ãããè¨äºãåèã«ããã¦ããã ãã¾ããããããã¨ããããã¾ãã
èªåãã¤ã¼ãbotãã¼ã¿ãæºåãã¦Twitterã§ããã°ã®éå»è¨äºããããã ããï¼ - ããã¿ã
ã¯ã¦ãªããã°ã®éå»è¨äºãTwitter Botã«ãã¤ã¼ãããã - 太é½ãã¾ã¶ããã£ããã
ãã£ããæ¸ãããã®è¨äºãåããã¦ãªãï¼éå»è¨äºã¯botã§ã¤ã¶ãããï¼ | NITEandDAY.blog
ã¯ã¦ãªããã° éå»è¨äºãTwitterã«å®æçã«èªåçã«æ稿ãããã㤠- çé
¸ããã¹ã
ä½ã£ã¦ã¿ãï¼ã¯ã¦ãªããã°ã§Twitterã§ã®éå»è¨äºç´¹ä»ç¨ã«TwittBotå¼µä»ç¨æååä½æãã¼ã« - ãã ãã ãã¼ãã
ã¹ããã ãã§åºæ¥ãï¼éå»è¨äºã®èªåãã¤ã¼ããã¯ã¦ãªããã°ã - è
¹ãæ¸ã£ã¦ã¯è²å
ã¯ã§ãã¬
以ä¸ã®ãµã¤ãã¯ç¥ããªãã£ãã®ã§ã大å¤åå¼·ã«ãªãã¾ãããã§ãããè¨äºè¿½å ã®ãã³ã«æä½æ¥ã¨ããã®ã¯å人çã«ã¯é¿ãããã
twittbot - enjoy
Screaming Frog
ã¨ããããã§ã æåã«è¨å®ããã(åºæ¬çã«)æ¾ç½®ã§å ¨èªåãã¤ã¼ããããã¤ãä½ãã¾ããï¼
使ãæ¹
使ãããã«å¿ è¦ãªãã®
- Googleã¢ã«ã¦ã³ã (ãã®ãæä¸ã«æã£ã¦ãªã人ããã®ããªâ¦)
- Twitterã¢ã«ã¦ã³ã
- é»è©±çªå·ã®ç»é²å¿ é (ã¢ããªä½æããã®ã«å¿ è¦)
- PC (ã¹ããã§ããããããã§ãããPC ä½æ¥åæã§æ¸ãã¦ã¾ã)
Twitterアプリの作成に電話番号が必須に!? - てへまぐいらんー
è¨å®æé
空ã®ã¹ãã¬ããã·ã¼ããä½æãã
ã¹ãã¬ããã·ã¼ãã«ã¢ã¯ã»ã¹ããã°ã¤ã³ãã¾ãã
Google ã¹ãã¬ããã·ã¼ã
空ã®ã·ã¼ããä½æãã¦ãååãé©å½ã«å ¥åãä¾ã§ã¯ãéå»è¨äºBotãã¨ãã¦ãã¾ãã
GAS ãä½æãã
ããã¼ã«ã â ã ã¹ã¯ãªãã ã¨ãã£ã¿ããã¯ãªãã¯ãå¥ã¦ã£ã³ãã¦(ã¿ã)ãéãã¾ãã
ããã¸ã§ã¯ãåããã¡ã¤ã«åãå¤æ´ãã
ä¾ã§ã¯ãããã¸ã§ã¯ãåããéå»è¨äºBotãããã¡ã¤ã«åããpostOldEntryBot.gsãã¨ãã¦ãã¾ãã
Twitterç¨ã©ã¤ãã©ãªãèªã¿è¾¼ã
ããªã½ã¼ã¹ãâãã©ã¤ãã©ãªããã¯ãªãã¯ã
ãã©ã¤ãã©ãªã追å ãã« 1rgo8rXsxi1DxI_5Xgo_t3irTw1Y5cxl2mGSkbozKsSXf2E_KBBPC3xTF
ã¨å
¥åãã¦ã追å ããã¯ãªãã¯ã
追å ã§ãããããã¼ã¸ã§ã³ãææ°ã«ãã¦ãä¿åããã¯ãªãã¯ã
ã³ã¼ããã³ãããã
ãã®ã³ã¼ããã³ãã¼ãã¦ãå ã»ã©ã®ãã¡ã¤ã«ã«ä¸æ¸ããã¾ãã[Ctrl] + [a] (or [Cmd] + [a])ã§å ¨é¸æãã¦ã³ãã¼ããããã¨ããæ¹ã¯ãã¡ãã®ãªã³ã¯ãéãã¦ãã ããã
ã³ãããããããããªæãã CONSUMER_KEY
, CONSUMER_SECRET
, BLOG_URL
(, PROMOTE_OK
, TARGET_SHEET
, EXCLUDE_SHEET
) ã¯å¾ã§æ¸ãæãã¾ãã
Twitter ã¢ããªãä½æãã
Twitter ã¢ããªç®¡çãµã¤ãã«ã¢ã¯ã»ã¹ããã°ã¤ã³ãã¾ãã
Twitter Application Management
ã¢ã¯ã»ã¹å¾ããCreate New APPããã¯ãªãã¯ã
å¿ è¦äºé ãå ¥åãã
å¿ è¦äºé ãå ¥åããã§ãã¯ãå ¥ãã¦ãCreate your Twitter applicationããã¯ãªãã¯ãå¿ è¦äºé ã¯ä»¥ä¸ã®éãã§ãã
Name*
ï¼é©å½ãä¾ã§ã¯ãHatenaOldEntryBotãDescription*
ï¼é©å½ãä¾ã§ã¯ãRandom pickup and hatena blog old entry.ãWebsite*
ï¼èªåã®ããã°URLCallback URL
ï¼å ã»ã©ä½æãã GAS ã® URL ã®edit?...
ããæåé¨åãã³ãã¼ãã¦/usercallback
ã追å ãããã®
ä¾ï¼https://script.google.com/macros/d/xxxx/usercallback
Consumer Key/Secret
ãåçæãã
ã¢ããªã±ã¼ã·ã§ã³ä½æç´å¾ã ã¨ãä¸æãåä½ããªãã±ã¼ã¹ããããããªã®ã§ãä¸åº¦ Consumer Key/Secret
ãåçæãã¾ãã
ãKeys and Access Tokensãã¿ããã¯ãªãã¯ãAccess Level ããRead and writeãã«ãªã£ã¦ãããã¨ã確èªãã¾ãããRead and writeãã«ãªã£ã¦ãããã¨ã確èªã§ãããããRegenerate Consumer Key and Secretããã¯ãªãã¯ãã¾ãããRead-onlyãã¨ãªã£ã¦ããå ´åã¯ã次ã®æé ã§è¨å®å¤æ´ãè¡ãã¾ãã
ãRead and writeãã®æ¹ã¯ãã®æé ã¯ã¹ããããã¦ãã ããããRead-onlyãã¨ãªã£ã¦ããå ´åã¯ãé£ã«ãããPermissionsãã¿ãããããã¯ãmodify app permissionsãã®è¡¨ç¤ºãã¯ãªãã¯ã
ãRead and Writeããé¸æãã¦ããUpdate Settingsããã¯ãªãã¯ãã¾ããç»é¢ãæ´æ°ããããããKeys and Access Tokensãã¿ãã«æ»ã£ã¦ããRegenerate Consumer Key and Secretããã¯ãªãã¯ãã¾ãã
ãæ¬å½ã«åçæããï¼ãã¨èãããã®ã§ããRegenerate Consumer Key and Secretããã¯ãªãã¯ãã¾ãã
ç»é¢ãæ´æ°ããã¦ãConsumer Key/Secret
ãå¤ãã£ã¦ãããã¨ã確èªã§ããã° OK ã§ãã
Consumer Key/Secret
ãã³ãã¼ãã
Consumer Key/Secret
åçæå¾ããKeys and Access Tokensãã¿ãã«è¡¨ç¤ºããã Consumer Key (API Key)
㨠Consumer Secret (API Secret)
ãã³ãã¼ãã¾ãã ä»äººã«æ¼ãããªãããã«æ³¨æãã¦ãã ããã
ã³ãã¼ãã Key
, Secret
ã GAS ã®å
é è¡ã«å
¥åãã¾ãããããã¦ã BLOG_URL
ãè¨å®ãã¾ãã
PROMOTE_OK
ãè¨å®ãã
éå»è¨äºãã¤ã¼ãæã«ããã®è¨äºã®å®£ä¼ã«ãååããã ããæ¹ã¯ PROMOTE_OK = true
ã«ãããã§ãªãæ¹ã¯ PROMOTE_OK = false
ã«å¤æ´ãã¦ãã ããã
PROMOTE_OK = true
ã®å ´åã¯ãéå»è¨äºãã¤ã¼ãã®ãªãã©ã¤ã«ãåã®ãã¤ã¼ãã¸ã®ãªã³ã¯ããã£ã¤ãã¾ãããã£ã¨è²ããªäººã«ä½¿ã£ã¦æ¬²ããã®ã§ããååãé¡ããã¾ãã
ã¤ã¶ãããããªãè¨äºãè¨å®ãã
éå»è¨äºBot ã«ãã¤ã¼ããã¦æ¬²ãããªãè¨äºãããå ´åã«è¨å®ãç¹ã«ãªãæ¹ã¯ã¹ãããã㦠OK ã§ãã
ã¹ãã¬ããã·ã¼ãã«æ»ã£ã¦ãå·¦ä¸ã«ãããï¼ããã¿ã³ãã¯ãªãã¯ãæ°ããã·ã¼ãã®Aåã«ã対象ã®è¨äºã¢ãã¬ã¹ãå ¥åãã¦ãã ããã1è¡ç®ã®ã©ãã«(é¤å¤å¯¾è±¡ ã¨æ¸ããã¦ãé¨å)ã¯å¥ã«ç¡ãã¦ãOKãåãããããããã«ä»ãã¦ãã ãã§ãããã§ãã¯ããã®ã¯Aåã ããªã®ã§ãBå以éã¯å¥½ãã«ä½¿ã£ã¦ãã ãããå㯠URL ã ãã ã¨ä½ã®è¨äºãåãããªãã®ã§ãè¨äºã¿ã¤ãã«ãã¡ã¢ãã¦ã¾ãã
ã·ã¼ãåãå¤æ´ããå ´åã¯ãTARGET_SHEET
, EXCLUDE_SHEET
ãåããã¦å¤æ´ã
ã¢ããªã±ã¼ã·ã§ã³ãèªè¨¼ãã
èªè¨¼ãè¡ã
ãé¢æ°ãé¸æãâãauthorizeããã¯ãªãã¯ã
ãauthorizeããé¸æããã¦ãããã¨ã確èªããããåçãã¼ã¯ãã¯ãªãã¯ã
Google ã®èªè¨¼ãå¿ è¦(needs your permission to access your data on Google)ã¨è¡¨ç¤ºããããã許å¯ã確èªããã¯ãªãã¯ããã®è¡¨ç¤ºãåºãªãå ´åãããã®ã§ããã®å ´åã¯å ã«é²ãã§ãã ããã
ã¹ãã¬ããã·ã¼ããä½æãã Google ã¢ã«ã¦ã³ããé¸æ(or ãã°ã¤ã³)
ããã®ã¢ããªã¯ç¢ºèªããã¦ãã¾ãããã¨è¡¨ç¤ºãããããã詳細ãâã"ã¢ããªå"ï¼å®å ¨ã§ã¯ãªããã¼ã¸ï¼ã«ç§»åããã¯ãªãã¯ã
Google ã®ã¢ã¯ã»ã¹è¨±å¯(ã¢ããªé£æº)ç»é¢ã表示ãããããã許å¯ããã¯ãªãã¯ã
ã¨ã©ã¼ã表示ãããªããã°å®è¡å®äºã§ãã1ã2ç§ç¨åº¦ã§å®è¡å®äºããã¨æãã®ã§ãã表示ãâããã°ããã¯ãªãã¯ã表示ããã URL ãã³ãã¼ãã¦ãå¥ã¦ã£ã³ãã¦(or å¥ã¿ã)ã§éãã¾ãã
Twitter ã®ã¢ããªã±ã¼ã·ã§ã³é£æºè¨å®ç»é¢ãåºãããã§ãããã¨ã«ããã¤ã¼ããããããããã®ã確èªãã¾ããåé¡ãªããã°ãé£æºã¢ããªãèªè¨¼ããã¯ãªãã¯ã Success
ã¨è¡¨ç¤ºãããã°èªè¨¼å®äºã§ãã
ã§ããªããã¨å´ã«ããã¤ã¼ããããããããå ´åãããã£ã³ã»ã«ããã¯ãªãã¯ããã®æé ããããç´ãã¦ã¿ã¦ãã ããã
èªè¨¼ããã¾ããããªãå ´å
keroyon (id:zaihamizunogotoshi) ããã®ãéå»è¨äºbotããªãã¨ãä½æã»åä½å®äºããæ¥è¨ãã« æ¸ããã¦ã¾ãããTwitter ã¢ããªã®è¨å®ã§ãã¾ããããªãå ´åãããããã§ãã
èªè¨¼ããã¾ããããªãæ¹ã¯ããã¡ããåèã«ãã¦ãã ããã
ãCallback URL LockedãYesãã«ãªã£ã¦ãã¨ãã¢ããªã®èªè¨¼ãã§ãã¾ããã§ããã
ãããNoã«ããããã«ãTwitterã¢ããªã®Settingç»é¢ã®ä¸ã®æ¹ã«ãEnable Callback LockingãªãããããããããOFFã«ãã¦ãä¸çªä¸ã®ãUpdateSettingããæ¼ãã
Detailsç»é¢ã§ããCallback URL LockedãNoãã確èªã
ããã§GASããèªè¨¼ãã§ãã¾ããã
èªè¨¼ããããã°ããã®è¨å®ã¯YESã«æ»ãã¦ãåãã¿ããã
過去記事bot、なんとか作成・動作完了。 - keroyonの『精進なんてやーめた』日記
過去記事bot、なんとか作成・動作完了。 - keroyonの『精進なんてやーめた』日記
ã¹ã¯ãªããã®åä½ç¢ºèªãè¡ã
è¨äºæ å ±ãæ½åºãã
è¨äºæ å ±ãæ½åºã§ããã確èªãã¦ããã¾ãããscrapingHatenaBlogããé¸æãã¦ãåçãã¼ã¯ãã¯ãªãã¯ã
ã¹ãã¬ããã·ã¼ãã«è¨äºæ å ±ãåºåãããã°æåã念ã®ãããæ¼ããç¡ãããã£ã¨ç¢ºèªãã
è¨äºæ å ±ãã¯ãªã¢ãã
Bot ã¯å¸¸ã«ææ°ã®è¨äºæ å ±ãä¿æãã¦ããããã«ãä¸åº¦ã·ã¼ããã¯ãªã¢ãã¦ããææ°æ å ±ãåå¾ããããã«è¨å®ãã¾ããã·ã¼ãã®ã¯ãªã¢ãåä½ããã確èªãã¦ããã¾ãããclearSheetããé¸æãã¦ãåçãã¼ã¯ãã¯ãªãã¯ãã¹ãã¬ããã·ã¼ãã空ã£ã½ã«ãªã£ã¦ããã°æåã
éå»è¨äºããã¤ã¼ããã
éå»è¨äºãã¤ã¼ããåä½ç¢ºèªãã¾ãããscrapingHatenaBlogããå®è¡ãã¦ãè¨äºæ å ±ãæ½åºãããç¶æ ã«ãã¦ããã¦ãã ããã
è¨äºæ å ±ãã¹ãã¬ããã·ã¼ãã«æ½åºãããç¶æ ã§ããpostOldEntryããé¸æãã¦åçãã¼ã¯ãã¯ãªãã¯ã
以ä¸ã®ããã«ãã¤ã¼ããããã¦ããã°æåã§ãã
èªåå®è¡ãè¨å®ãã
ããã¾ã§ã§ GAS ãæ£å¸¸ã«åä½ãã¦ãéå»è¨äºããã¤ã¼ãã§ãããã¨ã¾ã§ç¢ºèªã§ãã¾ããããã¨ã¯å®è¡ã¿ã¤ãã³ã°ãè¨å®ãããçµäºã§ãã
ã大ä½ã®æéã«æ稿ããæ¹æ³ãã¨ããã£ã¡ãæå®æå»ã«æ稿ããæ¹æ³ãã® 2種é¡ãããã®ã§ãé çªã«èª¬æãã¾ãã
大ä½ã®æéã«æ稿ããæ¹æ³
ãã¡ãã®æ¹æ³ã¯ã20æã21æã®ã©ããã§æ稿ãã¨ããæãã
æ¨æ¥ã¯20:00ã«æ稿ãä»æ¥ã¯21:00ã«æ稿ãã¨ãã風ã«ãæ大 1æéã®ãããåºãããããã¾ããã
æè¨ãã¼ã¯ãã¯ãªãã¯ããä»ãã追å ããã«ã¯ãããã¯ãªãã¯ãã¦ããªã¬ã¼ã追å ãã¦ããã¾ãã
以ä¸ã®åçã¯ãããªè¨å®ã«ãªã£ã¦ãã¾ããã好ã¿ã®ã¿ã¤ãã³ã°ãééãè¨å®ãã¦ãã ããã
AM3ã4æã«ã¹ãã¬ããã·ã¼ãã空ã«ãã¦
AM4ã5æã«è¨äºæ
å ±ãæ½åºãã¦
6æéããã«éå»è¨äºããã¤ã¼ããã
ãéç¥ããã¯ãªãã¯ããã¨ãGAS ãèµ·å失æããæã«éç¥ãåãåããããã«è¨å®ã§ãã¾ããå¿ è¦ã«å¿ãã¦è¨å®ãã¦ãã ããã
ãã£ã¡ãæå®æå»ã«æ稿ããæ¹æ³
ã³ã¼ã25è¡ç®ãããã«ãããæ稿æå»(POST_TIMES
)ãè¨å®ãã¾ãã13:30 㨠21:45 ã«æ稿ãããå ´åã¯ããããªæãã§ãã
var POST_TIMES = [ "1330", "2145", ];
ããªã¬ã¼ã®è¿½å æ¹æ³ã¯ 1ã¤åã®ã大ä½ã®æéã«æ稿ããæ¹æ³ãã«æ¸ãã¦ãã®ã§ããã¡ããè¦ã¦ãã ããã
注æç¹ã¯ãããªæãã§ãã
ãPostOldEntryãã¯ä½¿ããã«ããdeleteTriggerããsetTriggerãã使ã
å¿
ããdeleteTriggerãâãsetTriggerãã®é ã«ãªãããæå»ãè¨å®ãã
ãsetTriggerãã¯ãPOST_TIMESãã®æ稿æå»ããåã«åãã
è¨å®å®äºã§ãããç²ãæ§ã§ãã
ããã§å ¨ã¦ã®è¨å®ãå®äºã§ãããç²ãæ§ã§ãããå¿é çãªæ¹ã¯ãå®æå®è¡ã®åä½ç¢ºèªãè¡ã£ã¦ããã¨è¯ãã§ãããã
ãå°å ¥ããããã£ã¦æ¹ã¯ãããã¯ãã¼ã¯ã³ã¡ã³ãã§æãã¦ããããã¨å¬ããã§ãï¼å·®ãæ¯ããªããã°ãå°å ¥äºä¾ã«æ¸ããã¦é ãã¾ãã
ãã¤ã¼ãå 容ãã«ã¹ã¿ãã¤ãºããã
ã³ã¼ãã®140è¡ç®ããããå¤æ´ãã¦ãã ãããå ·ä½çã«ã¯ä»¥ä¸ã®ã³ã¼ãã
var tweetStr = "" tweetStr += "ð¤<カコキシï¾!! " tweetStr += "#éå»è¨äºbot #ã¯ã¦ãªããã° \n" tweetStr += url + "\n" tweetStr += "ð" + published + " æ稿\n" tweetStr += "ð" + updated + " æ´æ°\n" tweetStr += "ð°" + title + "\n"
以ä¸ã®å 容ãã»ããã«ãã¦ãã¤ã¼ããã¦ã¾ããçµµæåã®å¤æ´ããä¸è¦ãªæ å ±ã®åé¤ãªã©ãèªç±ã«ã©ããã
- ãããã (ãããã
- ããã·ã¥ã¿ã° (#éå»è¨äºbot #ã¯ã¦ãªããã°)
- è¨äºURL
- æ稿æ¥æ
- æ´æ°æ¥æ
- è¨äºã¿ã¤ãã«
ãã¤ã³ãã¨ãè¦å´ããç¹ã¨ã
ã¯ã¦ãªããã°ã® RSS Feed 㯠http(s)://(BLOG URL)/rss
or http(s)://(BLOG URL)/feed
ã§åãããrss
㨠feed
ã§ã¯ãã©ã¼ããããç°ãªããä»å㯠feed
ãå©ç¨
RSS Feed ã®2ãã¼ã¸ç®ä»¥é㯠?page=xxxx
ã§åå¾å¯è½ãxxxx
ã®é¨å㯠UNIX TIMESTAMP!!
Twitter ã®æåæ°å¶éã¯æ¥æ¬èª(å
¨è§)ã§140æåãåè§ã ã¨280æåãåè§/å
¨è§ æ··å¨ã±ã¼ã¹ã®èæ
®ãé¢å
URL ã¯æ大23æåã§ã«ã¦ã³ã
æ大æåæ°ãè¶
éããããæ«å°¾ããªãã³ã°ããã»ã©é·ãã¿ã¤ãã«ã§ãªãéãã¯å¤§ä¸å¤«
はてなブログのRSS配信URLは2つあった! - tarのブログるっ by @tarVolcano
Twitterã®æåæ°ã«ã¦ã³ãã®æ°ä»æ§ã«ã¤ã㦠- Qiita
Twitterãç»åãURLãè²¼ã£ã¦ãæåæ°ã¯140æåã®ã¾ã¾ã« - é±åã¢ã¹ãã¼
ãã®ä» åèã«ãããã¼ã¸
GoogleAppsScriptで日付をフォーマットする
2バイト文字は2として文字列の長さをカウントするGoogleAppsScript関数
JavaScriptで文字列を指定バイト数で切り取る|プログラムメモ
Twitter REST APIの使い方
Google Apps Script (GAS) でTwitterへ投稿するだけの機能を実装してみる
Twitterアプリで"Desktop applications only support the oauth_callback value 'oob'"って出た時の対処
Google Apps ScriptでTwitter botを作ってみた
【Twitter】GASで自分のツイートを定期RT/引用するbotを作った
å°å ¥äºä¾
- id:shidoma (@shidoma2622) ãã
- id:beed (@beedhateblojp1) ãã
- id:min0124 (@MIN0124_) ãã
ããã¿ã(id:min0124)ããã¯ãã³ã¼ããæ¹é ãã¦ãã®ã§ããGASãããã°è¨äºãã¹ã¯ã¬ã¤ãã³ã°ãã¦æ稿!Twitter Botã®ä½ææ¹æ³ - CGã¡ã½ããããè¦ãã§ãã¯ã§ããæ¹é ããã¦ãã®ã¯ä»¥ä¸ã®2ç¹ã
è¨äºã¿ã¤ãã«ã®ããã®ä¸èº«ãããã·ã¥ã¿ã°æå®
æ稿æå»ã®æ£ç¢ºãªæå®
- id:yuki_2021 (@yuki_20211) ãã
- id:nemkd12 (@nemkd12) ãã
- id:zaihamizunogotoshi (@keroyon0001) ãã
ã¾ã¨ã
ã¯ã¦ãªããã°ã§ãå
¨èªåã§éå»è¨äºãã¤ã¼ããã§ããã
ä¸åè¨å®ããã°ãæ°ããè¨äºãèªåã§ãã¤ã¼ã対象ã«ãªãã
ãã¤ã¼ããã¦æ¬²ãããªãè¨äºãè¨å®ã§ããã
æ°ã«å ¥ã£ãããå°å ¥ãããªããã¯ã¦ãããããã°ã¯ï¼
Amazon ãã©ã¤ã ã®ã¡ãªããç·ã¾ã¨ã
ã¹ãã¼ã¹åå¢ï¼ãããã³ä½æ¥ãæé«ã«æãçªã£å¼µããããã³ã©ãã¯
ãAmazonãã©ã¤ã ãå
æãã¾ãï½ã第1ã50åããé¸ã¶çç¬ãã¹ã10
便å©ãªãã¯ããã¯ããã¯ã¦ãªããã°ç¨botãªã© Twitter è¨äº å
¨ã¾ã¨ã
ãããé¨åã«ãªã·ã£ã¬ãªã¢ãã¡ã¼ã·ã§ã³ã追å ããã
å¹ãåºãã«ã¢ãã¡ã¼ã·ã§ã³è¿½å ããæ¹æ³
ä»®æ³é貨ã¦ã§ããã©ã³ãå°å
¥ã§è²ããªã³ã¤ã³ã表示ããã
ãã³ããå°å
¥ãã¯ã¦ãªããã°ã§ã³ãããæ¤åºãã¦éç¥ããæ¹æ³(ä»®)ããã¯ãªå¯¾çã
2018å¹´3æç ã¯ã¦ãªããã°proã»ç¬èªãã¡ã¤ã³ã«ç§»è¡ããæã«ããã㨠ã¾ã¨ã