表é¡ã®ããã«ãCORESERVERï¼ãããã¯XREAï¼ã§PEARã®OAuthã©ã¤ãã©ãªã使ããããã«ããã¾ã§ã®æé ãã¡ã¢ãã¦ããã¾ãã ï¼ï¼CORESERVERã®ç®¡çç»é¢ã§ããã¹ãæ å ±ç»é²ï¼SSHç»é² ï¼ï¼PuTTYãªã©ã§ãã¹ãåãå ¥åãã¦SSHæ¥ç¶ ï¼ï¼ã³ãã³ãã©ã¤ã³ã§ãã°ã¤ã³åã¨ãã¹ã¯ã¼ããå ¥åãã¦ãã°ã¤ã³ ï¼ï¼public_htmlç´ä¸ã«PEARãã¤ã³ã¹ãã¼ã«ï¼æ å ±å ï¼ pear config-create /virtual/èªåã®ã¦ã¼ã¶å/public_html .pearrc pear install -o PEAR ï¼ï¼å¿ è¦ãªPEARããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ãã¹ãéãï¼æ å ±å ï¼ pear install Net_URL2-0.3.0 pear install HTTP_Request2-0.5.1 pear install HTTP_OAuth-0.1.6 PEARã使ãã
OAuthã使ã£ã¦ã¿ããã¦pearã®HTTP_OAuthãå°å ¥ããæ¹æ³ã®ã¡ã¢ã ãã ãããã¾ã§ãèªåã¯ããã§ãã¾ããã£ããã¨ããã¡ã¢ã§ãã 質åããã¦ããããã¾ããï½ XREAã§PEARãã¤ã³ã¹ãã¼ã«ããã®ã«ãããã¿ã¨ãã®ã¡ã¢ - æ 人ã±ã³ï¼ã¿ãããã±ã³ï¼ãåèã«é²ããã ãã®æ¹æ³ã ã¨public_htmlç´ä¸ã®pearã¨ãããã£ã¬ã¯ããªã«ã¤ã³ã¹ãã¼ã«ããã¾ãã 以ä¸ã§ã¯ãtadakyokuãããs86ããèªåã®æ å ±ã«å¤æ´ãã¦ãã ããï¼ï¼ ã¤ã³ã¹ãã¼ã«æ¹æ³ ã¾ãSSHãã°ã¤ã³ã ssh [email protected] è¨å®ãã¡ã¤ã«ãä½ã£ã¦ pear config-create /virtual/tadakyoku/public_html .pearrc ã¤ã³ã¹ãã¼ã«éå§ãä¾åé¢ä¿ã«ããå¥ã®ããã±ã¼ã¸ããã¤ã³ã¹ãã¼ã«ããã ãã¼ã¸ã§ã³ã¯pearã®ãµã¤ããªã©ãè¦ã¦é©å®å¤
ã¿ã¤ãã«ã®ãã¨ãç¥ãåãã«èããããã§ãããèªåãOAuthã«é¢ãã¦ã¯å°ãæªããã£ãã®ã§ãåå¼·ãã¦ãã½ã¼ã¹ãä½ãã¾ããã ããããWebã§ããã«è¦ã¤ããè³æã ã¨ãã¡ãã£ã¨æ å ±ã足ããªãã£ãããã¦å°ãã¾ãããããã ã²ã¨ã¾ãä½ã£ããã®ã§OAuthèªè¨¼ãAPIåä½ãªã©ã確èªããã®ã§ã以ä¸ã«æ å ±ãè¼ãã¾ãã OAuthèªè¨¼ã®æ¦ç¥ OAuthã®è©³ãã話ã¯ãããªãçç¥ãã¾ãããè¦ã¯ã¦ã¼ã¶ããç§ã¯ãã®ã¢ããªã±ã¼ã·ã§ã³ãä¿¡é ¼ãã¾ãããã¨ããã¡ãã»ã¼ã¸ãTwitterãªãã®ãµã¼ãã¹ã«éã£ã¦ãã¢ããªã±ã¼ã·ã§ã³ã¨ãµã¼ãã¹ã®éã§å¥½ãã«éä¿¡ã§ããããã«ããä»çµã¿ã§ãã ï¼ãªããOAuthã§ã¯ãµã¼ãã¹ã¨éä¿¡ããã¢ããªã±ã¼ã·ã§ã³ãã³ã³ã·ã¥ã¼ãã¨è¨ãããã§ãï¼ ããã§ãOAuthã§éä¿¡ãããã¨ããã¢ããªã±ã¼ã·ã§ã³ã¯ãéä¿¡ã®ããã®éµãå¿ è¦ã«ãªãã¾ããæä½éå¿ è¦ãªéµã¯ã次ã®2ã¤ã§ãã ã³ã³ã·ã¥ã¼ãã»ãã¼ ã¦ã¼ã¶ã®ã¢ã¯ã»ã¹ã»
以åããOAuthã使ã£ã¦PHPããTwitterã¸æ稿ãã ãã¨ãã§ãTwitterã®OAuthãçµç±ãã¦æ稿ããPHPããã°ã©ã ãæ¸ãã¾ããããTumblrãOAuthã«å¯¾å¿ããã¨ãããã¨ãªã®ã§ãOAuthçµç±ã§Tumblrä¸ã®æ å ±ãåå¾ããããæ稿ããPHPã®ã¹ã¯ãªãããæ¸ãã¦ã¿ã¾ããã ä¸å¿ãæçµç³»ã¯botã¨ãã¦ãåãããããã«ãªãã®ã§ãããTwitterã¨éãã¢ã¯ã»ã¹ãã¼ã¯ã³ãæåã§åå¾ããå¿ è¦ãããï¼xAuthã«å¯¾å¿ãã¦ãããããªã®ã§ãç³è«ãããã°ãããªãã¨ãç¡ãã¨æãã¾ããï¼ã®ã§ãWebãµã¤ãä¸ã«ããã°ã©ã ã®é ç½®ã¨å®è¡ãã§ããç°å¢ãå¿ è¦ã«ãªãã¾ãã ãªããOAuthçµç±ã§ã®APIæä½ã¯åååæ§ã«PEARã®HTTP_OAuth ã使ã£ã¦ãã¾ãã 使ãæ¹ã®è©³ç´°ã¯ãåã¨ã³ããªã«æ¸ãã¦ã¾ãã®ã§ããã¡ãããããã¦åç §ãã¦ãã ããã Twitterã®æã¨åæ§ã«ã¢ããªã±ã¼ã·ã§ã³ã®ç»é²ãå¿ è¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}