ãTwitterã¢ã¤ã³ã³URLåå¾APIãã¯ãTwitter APIã®ææåã«ä¼´ãã2023/02/03ã«æä¾ãçµäºè´ãã¾ããã
いらすとやさんの画像をお借りしております
2013/07/30ãããAPIã®ã¨ã³ããã¤ã³ããå¤ãã£ã¦ãã¾ãã
詳細ã¯ãã¡ãâã§ã
Twitterã®åå¥ãã¼ã¸ã§ã¢ã¤ã³ã³çãåã«æã£ã¦ããã¹ã¯ãªããããã¼ã¸ã§ã³ã¢ãã - 風æ³ã¡ã¢ã®éã«â¦
AutoPageirze for SeaHorseã®ç¾ç¶ã®SITEINFOã§ã¯ãTwitterã®åå¥ãã¼ã¸ã§ç¶ã足ãããã®ã¯æ¬æã®é¨å(div.hentry)ã®ã¿ã§ãã¦ã¼ã¶æ
å ±é¨å(div.user-info)ãç¡ããã¢ã¤ã³ã³ã®URLãå«ã¾ãã¦ãã¾ããã
ã§ãããå¹ãåºãã«ã¢ã¤ã³ã³ã表示ããã«ããããã©ãã«ããã¦ç¶ã足ããããã¤ã¼ãã®ã¦ã¼ã¶ã®ã¢ã¤ã³ã³URLã(screen_name辺ããã)ãå¼ã£å¼µã£ã¦ããå¿
è¦ãæãã¾ããã
ä¸å¿ã
è¦ã¯http://api.dan.co.jp/twicon/screen_name/sizeãã常ã«ææ°ã®ã¢ã¤ã³ã³ãæã示ãURIã¨ãã¦ä½¿ããã¨ããããã§ãã
404 Blog Not Found : #perl - twitterのアイコンURLを固定するAPI![]()
ã®åå¨ã¯ç¥ã£ã¦ã¯ãã¾ããããäºæ ã«ãã*1ãTwitterã®API(/users/show)ã使ç¨ãããã»ã¼åæ§ã®APIãä¾ã«ãã£ã¦GAE/Pythonã§èªä½ãã¾ããã
APIä»æ§
- ãã¼ãã«ã¢ã¤ã³ã³åå¾(48pxÃ48px)
http://gadgtwit.appspot.com/twicon/<screen_name>
http://gadgtwit.appspot.com/twicon/<screen_name>/normal
ä¾ï¼http://gadgtwit.appspot.com/twicon/furyutei - å°ããã¢ã¤ã³ã³åå¾(24pxÃ24px)
http://gadgtwit.appspot.com/twicon/<screen_name>/mini
ä¾ï¼http://gadgtwit.appspot.com/twicon/furyutei/mini - 大ããã¢ã¤ã³ã³åå¾(73pxÃ73px)
http://gadgtwit.appspot.com/twicon/<screen_name>/bigger
ä¾ï¼http://gadgtwit.appspot.com/twicon/furyutei/bigger - ãªãªã¸ãã«ã¢ã¤ã³ã³åå¾(大ããä¸å®ã»ã¢ãããã¼ããããµã¤ãºï¼)
http://gadgtwit.appspot.com/twicon/<screen_name>/original
ä¾ï¼http://gadgtwit.appspot.com/twicon/furyutei/original - èæ¯ç»å
http://gadgtwit.appspot.com/twbg/<screen_name>
ä¾ï¼http://gadgtwit.appspot.com/twbg/furyutei ï¼ãµã³ãã«ã¯50%ã®å¤§ããã«ç¸®ãã¦ããã¾ãï¼
ãªãªã¸ãã«ã¨ã®ä¸»è¦ãªéãã¯ã
- ããã©ã«ã(ãµã¤ãºæå®ããªãå ´å)ã¯ãnormalã¨åã(ãªãªã¸ãã«ã®ã»ãã¯biggerã¨åã)ã
- ãã£ãã·ã¥æéã¯
1æé(3600ç§)ç´3æéã - ãã¾ãã§ãèæ¯ç»ååå¾ç¨ã®APIãã¤ãã¦ã¿ãã
- Google App Engineã®Free Quotaç¯å²ãè¶ããç¨ã«é«è² è·ãªå©ç¨ããã£ãå ´åã¯ãæä¾ä¸æ¢äºå®ã
æ°ä»ããç¹ç
ã¯ã¦ãªè¨æ³ã§
[http://gadgtwit.appspot.com/twicon/furyutei:image]
ã ãã ã¨ãï¼No Imageï¼ã¨ãªãã
302 Foundã§æ¬æ¥ã®URLã«é£ã°ãã¦ããã ããªãã ããã©ã対å¿ãã¦ããªãï¼
[http://gadgtwit.appspot.com/twicon/furyutei:image=http://gadgtwit.appspot.com/twicon/furyutei]
è£è¶³
ä»ã«ãªã£ã¦æ°ãã¤ããããã©ã
UserIcons
http://b.hatena.ne.jp/rikuo/20091203#bookmark-17710184
Inicio | Tweetimag.es
ãªãã¦ãã®ãããã®ãããæåãããã£ã¡ä½¿ãã°è¯ãã£ãããªâ¦â¦ã
ã¾ããå°ãªãã¨ãUserIconsã®æ¹ã¯ãã£ã¨ã½ã¼ã¹ãèªããããã¹ã¯ã¬ã¤ãã³ã°ãã¦ããã¿ããã ããã©ãã
*1:Twitterã®APIã使ããã«HTMLããã¼ã¹ãã¦ããã¨ããã®ããTwitterの利用規約ã®âTwitterã®äºåã®æ¿è«¾ãªããã¦æ¬ãµã¼ãã¹ã®ã¹ã¯ã¬ã¼ãã³ã°ãè¡ããã¨ã¯æ示çã«ç¦ãããã¦ãã¾ãâã«å¼ã£ããããããªããããç¥ããªãã£ãå½æã¯ã¨ããããè¦ç´ãèªãã å¾ã ã¨èºèºããã¾ãã®ã§â¦â¦ã