UserStreamãåä¿¡ããã¨ãã«ï¼æ¯åNet::HTTPãã©ãã¨ãæ¸ãã¦ãã¦ï¼ããã©ãã ã£ãã®ã§ï¼UserStreamãåä¿¡ããgemãä½ã£ãï¼ 1è¡ãã¤åä¿¡ããJSON(ã®ããã¹ã)ããããããï¼ä½¿ãããããã«ä½¿ããï¼ UserStreamReceiver.new.run{|chunk| p JSON.parse(chunk) } å é¨çã«ã¯ï¼id:tilyããã®OAuth::CLI::Twitterã使ã£ã¦AccessTokenãåå¾ãã¦ãã¦ï¼æåã«èµ·åããã¨ãã«ï¼å¯¾è©±çã«PINãå ¥ããããã«è¨ã£ã¦ãããããï¼ æ¢åã®twitterã¯ã©ã¤ã¢ã³ããã使ãããå ´åã¨ãã¯ï¼ã³ã³ã¹ãã©ã¯ã¿ã«AccessTokenãæå®ãã¦ä½¿ããã¨ãã§ããï¼ bin/以ä¸ã«2ã¤ã³ãã³ããå ¥ã£ã¦ãï¼ user-stream-receiver åä¿¡ããJSONã表示ããï¼ user-stream-receive
{{#tags}}- {{label}}
{{/tags}}