ใฟใคใใซใฎ้ใ. ็งใฎๅ
จใฆใฎใขใซใฆใณใใงใใใกใใใใใใใฎใใคใผใใๅณๅบงใซใ่ชๅ็ใซๅ้คใใใใใใซใใ. ใใใใsalmon.js
ใซๆฉ่ฝใจใใฆ่ฟฝๅ ใใ. -F
ใชใใทใงใณใไปใใฆๅฎ่กใใใจใใใฎๆฉ่ฝใ็บๅใใ.
ใใใใจใใใใคใใใ.
ใคใฉใคใถ (@ampeloss) ใซใใใคใ้็ฅใจ็งฐใใฆใ ใกใผใซใๆฅใใจ็งใฎใใจใซใชใใฉใคใ็ใฆใใใใงใกใผใซใซๆฐใฅใใใใใซใใฆใใ. ๅคใใใใจ้้ณใซใชใ. ๆใใฏใใใ็จไบใๆธใใ ใๆถใใใ. ไปใพใงใฏใ็งใฎใขใซใฆใณใใใใคใฉใคใถใธใชใใฉใคใ้ฃใฐใใใใ ใใใๆค็ฅใใฆๅ้คใใใฆใใ. ใงใใชใใฉใคใ้ฃใฐใใฃใฆใใจใฏใ็ตๆ็ใซใใใคใผใใฎ็ทๆฐใฏๅคใใใชใ. ๅฐ็่ณๆบใฎ็ก้ง้ฃใใงใใ.
ใใกใใใจใใคใผใใๆถใใใฎใงใใใกใใๆถใใ. ใจใณใ .
ๅคๆด็ฎๆใจๆไฝ้ใฎ้ชจๆ ผใๅซใใใณใผใใฏไปฅไธใฎ้ใใงใใ.
ใฃใฆใใใใชใณใผใ (ใฉใใๅใใชใ) ๆธใใฆใฆๆใฃใใใฉใ git diff
ใฎใปใใๅพใใ่ฆใๆใซใใใซๆฑบใพใฃใฆใ.
ntwitter = require 'ntwitter'
twit = new ntwitter {}
delete_tweet = (status_id) ->
url = "https://api.twitter.com/1.1/statuses/destroy/#{status_id}.json"
twit.post url, {}, (-> console.log "status #{status_id} has beein destroied")
twit.stream 'user', (stream) ->
stream.on 'data', (data) ->
event = data.event
if event is 'favorite'
target_name = data.target_object.user.screen_name
if is_me(target_name)
delete_tweet data.target_object.id_str