jQueryã®ajaxã¡ã½ãããforã§ç¹°ãè¿ãå®è¡ããæã«æå¾ ããçµæãå¾ããã¾ããã§ãããããã¯éåæã§å®è¡ããã¦ãããããã®æåã ã¨æãã¾ããã詳細ã¯ä»ã®ã¨ãã調æ»ä¸ã§ããforã§ã«ã¼ãããããã¨ã¯ã§ãã¾ããã§ããããeachã¡ã½ããã使ããã¨ã§æ£ããåãããã«ãªãã¾ãããåããªãã³ã¼ãã¨åãã³ã¼ãã示ãã¾ãã ã¾ããajaxã®ãªã¯ã¨ã¹ããåãä»ããPHPã§ããTwitter APIã使ã£ã¦ä¸ãããããã©ã¡ã¼ã¿ã®Twitter IDã®ãã©ãã¼æ°ã¨ãã©ãã¯ã¼æ°ãåå¾ãã¦jsonã§åºåãã¾ãã get_twitter_status.php [php] status->user->friends_count . ââ,â; $json .= ââfollowedâ: ââ . $xml->status->user->followers_count . âââ; $json .= â}â;
{{#tags}}- {{label}}
{{/tags}}