ãã©ã¸ã«é¢é£ã®ã¤ãã³ã ãã©ã¸ã«é¢é£ã®ã¤ãã³ãæ å ±ãããããã¤ã¶ããã¾ãããã©ã¸ã«å¥½ããªãå¿ ããã©ãã¼ã§ãããï¼
ãã©ã¸ã«é¢é£ã®ã¤ãã³ã ãã©ã¸ã«é¢é£ã®ã¤ãã³ãæ å ±ãããããã¤ã¶ããã¾ãããã©ã¸ã«å¥½ããªãå¿ ããã©ãã¼ã§ãããï¼
æ稿ããã¡ãã»ã¼ã¸ã¯ rawurlencode() ã§ã¨ã³ã³ã¼ããããã¡ãã»ã¼ã¸ã«ã¹ãã¼ã¹(空ç½)ãããã¨ãããã§åãã¦ãã¾ãããã PHP5ä»¥ä¸ <?php $url = "http://twitter.com/statuses/update.xml?"; $username = your username; $password = your password; $params = "status=". rawurlencode(message); $result = file_get_contents($url.$params , false, stream_context_create(array( "http" => array( "method" => "POST", "header" => "Authorization: Basic ". base64_encode($user
ããã°ã©ã cronããããããªããAPIã¨ããã¾ã 触ããããªããã§ãç°¡åãªãã®ã§ãããããtwitterbotãä½ãããï¼ ãªãã¦äººãããããããªããã¨æãã¾ããåãããã§ããããã§ãä¸æéã«ä¸åº¦ã®çºè¨ã§ããPHPã®ããããåºæ¬çãªç¥èããã@è¿ãã¨ãããªãã¨ããæ¡ä»¶ã§ç°¡åãªbotãä½ã£ã¦ã¿ã¾ãããä½ãæ¹PHPã§twitterã®æ稿ãããã«ã¯PHPã§Twitterã«æ稿 - HIRACCHI H.D.ãåèã«ããã®ãä¸çªç°¡åã§ãã messageã¨ããã¨ããã$mesã¨ã§ããã¦ããã¦ãusernameã¨passwordãå ¥åããå¾ã®å ´æã§ãæ稿ãããã¡ãã»ã¼ã¸ãããã°ã©ã ã§ä½æãããã$mesã«ä»£å ¥ã¨ããã®ãããã§ããå®éã«æ稿ããã¡ãã»ã¼ã¸ã¯ãã好ããªã¢ãããã©ããã®ãµã¤ãã®å®æçã«å¤åãããã¼ã¿ããã£ã¦ãã¦ãããã§ãããäºåã«ããã¤ã表示ããããã®ãç¨æãã¦ä¹±æ°ã§æ¯ãåããããã¦ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}