2009-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ä»æ¥ã¯æ票æ¥ã§ãããææ¥åæ票ãã¦ããã®ã§1æ¥ããªã¼ï¼ ææ¥åæ票ãã·ã¹ãã ããã¤ãã¯ã§ããããã¬ããæåºããã¨ãã¼ã³ã¼ãã§èªã¿åãããã¼ããã½ã³ã³ã§å°å¸³ï¼ï¼ï¼ã¨ç §åãæ票ç¨ç´ãããããã 5å¹´ãããåã¯ãã¡ãã¡å¤§ããªå¸³ãéãã¦ãæ°ããã¾ãã â¦
â¦ã¨ãè¨ãã¤ã¤ãæ¥ã ç¡çºã«éããã¦ãã¾ãã ã¨ããããææçã«9æä¸æ¬ã«åºã¾ãã®ã§ãããã¾ã§ãªãã¹ãæºåããã¦ãããªãã¨ã 社ä¼äººã«ãªã£ã¦10å¹´ããã£ã¨å®å®¶ã§1ã¶æã©ããã1é±éã家空ããäºãªãã®ã§ï¼æãè¿ããããããã¡ãã£ã¨ç°å¸¸ã ãªâ¦ï¼å¼ã£è¶ãã®â¦
å®å®¶é£ã³åºããï¼æã¯æºã¡ãï¼ è¨ã£ãã®ã«è¡å移ããªããã¿ã¬ã®ç§ã®ããã«ãå®å®¶ã§ã¦ãã¦ããã¦ãããããªè¨è¿°ãæ¥è¨ã«ããã容赦ãªãçªã£è¾¼ãã§ä¸ããã ãç§ãããå°ãè¥ãã£ããããç§ã®æ§å¥ãéã£ã¦ããããåé¨ã®ã¨ãåªåãã¦ããã°ããããªãä»ããå¤â¦
ãã³ãã³ãè¿·æããã¦ããã¾ããµã¼ãã¹ http://program.kir.jp/twimg/ ã§ãããã¾ããæ°è¦ã«ãã¼ããç»é²åºæ¥ãªãä¸å ·åãèµ·ããæå¾ã®æ段ã§ãµã¼ãã移転ãã¾ããï¼ä»ã¾ã§ä½¿ç¨ã®æ¹ã¯åé¡ãªã使ãã¾ãã®ã§ãå®å¿ä¸ããï¼ãããæ¬å½ã«â¦ãµã¼ã以å¤ã«ãã°ã®åå â¦
ã¯ããèªåãã©ãã¼ã¾ã§æ¥ã¾ããã¼ãä¹ ãã¶ãã«ã¡ãã£ã¨é 使ã£ããããªæ°ããã⦠ãã¼ã¨ãæ¬é¡ã¯ããåã«ãæè¿ãã¢ãä½ã£ã¦ãçºè¡¨ãã¦â¦ã§ãããã«åå¿ãããäºãå¤ããªãã¾ããã ç§ã«ç´æ¥ãããªãã¦éæ¥çãªæè¦ãå¤ãã¦ããã¾ãã¾ãªã¢ãããã£ã¦ããããâ¦
ã¨ããã¢ã¤ãã¢ãæè¿twitterããã¿ã°ããã§ã¹ããã»ã³ã ã¿ã¤ãã«éããã¯ã¦ãªã§ããã¯ãã¼ã¯ããã¨twitterã«ãæ稿ãããä»æ§ã®ãã®ãä½ã£ã¦ã¿ãããªãã¾ããã èªåã®ãã¯ãã®rssï¼ç§ã®å ´åhttp://b.hatena.ne.jp/bardothodol/rssï¼ãåå¾ãã¦æ稿ã ããâ¦
ã³ãã±ã«ãµã¼ã¯ã«åå ãåéã¨ãä¼ããã ãå°å ´ã¬ã³ãã ããããããã§è¦ããåãã æ°å®¿ã§ããããè¸äººé½å¸ä¼èª¬ãéè³ãé¢ç½ãã£ã 念é¡ã®ãªãã«ãã§ãªãããã ã¾ãå¬ã«ãªï¼æ±äº¬ï¼
ã¿ã¤ãã«éããææ¥çºã¡ã¾ããéæã1æ¥ã ãã®åå ã§ããæ è¡èªä½ã¯äºæ³ä¸æ¥ãªã®ã§å°ãä½è£ãããã¾ãããã ãå°å ´ã¬ã³ãã ï¼ãã¨ã人çåã®ãç¬ãã©ã¤ãããã±ããåã£ããã ä½ããæ±äº¬èªä½ã楽ãã¿ãããwwww ããå¥åº·ã®ããã«æ©ãå¯ãªããããããã¿ãªâ¦
æè¿ãä½ãè¦ã¦ãï¼ãããããã°ã©ã ã ã¨ããã¨ãã©ããã£ã¦åãããï¼ã£ã¦èããããã«ãªãã¾ããã ç«ä½é§è»å ´ã¨ãé¢ç½ããããã¯è¦ã¦ãã ãã§ãé¢ç½ããã©ãä¸æãããã£ã¨ããã°ã©ãã®è³ã¿ãéããªãã¨ãã¼ã
ä»æ¥ã¯å¤§ããªå°éããã£ãã¿ããã§ããã ãã®åç» ãè¦ã¦ããããã¾ãã§å°éäºç¥ã¿ããã ãæªæ¥ã ãªã©ã¨ææ ¨ã«è½ã£ãã®ã§ãã http://wiredvision.jp/news/200908/2009080721.html ãã®æ©æ¢°ã¨ã ãã®åä¿¡æ©ãçµã¿åãããã°ãtwitterã®ã¿ã¤ã ã©ã¤ã³ä¸ã«å°éâ¦
botèªåãã©ãã¼ã®åã«ãå¥ã®è©±é¡ãããã®è¨äºphpã§twitterã®botãä½ãï¼è¿ä¿¡ç·¨ï¼ãåèã«botãä½ãããæ¹ãããããã§ï¼ãã©ãéã£ã¦ããã ãã¾ãããå¬ããã£ã¦ãã¡ãã§ãç´¹ä»ã è¶ åå¿è ã®éãbotãä½ãã - éããã®bot ãä¸å®å ¨ã æ§ããã (@kmwny) | â¦
phpã§botãä½ãã®ç¶ãã ååãåå¾ã¨æ稿ããã£ãã®ã§ãä»åã¯è¿ä¿¡ç·¨ã twitterã®ä»çµã¿ã¨ãã¦ãã¢ã«ã¦ã³ãåã®åã«@ãä»ããã¨ããã©ãã¼ãã¦ããå ´åTLã«ç¾ããï¼ä»ã«ã確èªã®æ¹æ³ããï¼ ãããbotã®æ©è½ã¨ãã¦ä»ããã¨ããããã@èªåã®ã¢ã«ã¦ã³ããã®ã¡â¦
åã®è¨äºã«ç¶ãã¦ã éªæ°ç¼botä½ãã¾ãã phpã§botä½ããªãcurlãããã¨æã ä»åã¯botã®ãªãã©ã¤é¢é£ã®äºãæ¸ããã¨æã£ããã§ãããåé¡çºçã curlã使ã£ãè¨äºã®åå¾ï¼åºåãã¬ã³ã¿ã«ãµã¼ãä¸ã§åºæ¥ãªããªã£ã¦ãã¿ããã§ãã xamppã§ãã¼ã«ã«ã«åãããâ¦
ãããéã¾ãâ¦â¦ä¿ºã®è ãâ¦â¦æããéããï¼ï¼ãããéªæ°ç¼ (jakigan_bot) on Twitterãç»å ´ - GIGAZINE éªæ°ç¼botãGIGAZINEã«ç´¹ä»ããã¾ãããèªåããå¶æ¥ããã¦ããããããã¾ã£ã¦ãããããã§ãããã ä¸æ°ã«ãã©ãã¯ã¼ãå¢ãã¾ãããé¢ç½ãã£ã¦ããã¦ããâ¦
å æ¥ã®éªæ°ç¼botã®è©±ãphpã§botä½ãã®ã«ããã¤ãæ¹æ³ãããã®ã§ãããä»åcurlã使ãã¾ããã PHP: cURL - Manual åèã«ããã®ã¯ Twitter API:å ¬éAPIãå©ç¨ãããµã³ãã«ãµã¤ããä½ã£ã¦ããã ãã¨ããã²ã¨ã¤å¿ãã¡ãã£ãããã¿ã¾ãããéªæ°ç¼botã¯ãªãã©ã¤â¦