mixi for iPhoneããçºæãããmixiæ¥è¨æ稿ç¨API « kuã§ããã§ãã require 'rubygems' require 'wsse' require 'net/http' site = 'mixi.jp' id = 'kajidai@example.com' passwd = 'PASSWORD' member_id = '1008343' content =__XML__ ããã¼ Rubyããatom/diary/member_id=ã«ããAPIçµç±ã§æ稿ãã¦ãã¾ããã __XML__ http = Net::HTTP.start(site, 80) response = http.post('/atom/diary/member_id=' + member_id, content, {'X-WSSE' => WSSE::header(id, passwd)}
{{#tags}}- {{label}}
{{/tags}}