{"author_url":"https://blog.hatena.ne.jp/shokai/","type":"rich","provider_url":"https://hatena.blog","blog_title":"\u6a4b\u672c\u8a73\u89e3","provider_name":"Hatena Blog","published":"2010-08-02 07:45:52","author_name":"shokai","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20100802%2F1280702752\" title=\"twitter\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"twitter\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","blog_url":"https://shokai.hatenadiary.org/","image_url":null,"categories":["Ruby"],"width":"100%","description":"#!/usr/bin/env ruby require 'rubygems' require 'twitter' file = ARGV.shift tw = Twitter::Base.new(Twitter::HTTPAuth.new('username', 'password')) tw.update_profile_image(open(file)) \u306a\u3093\u3068oauth\u3067\u306f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u306a\u304b\u3063\u305f","version":"1.0","url":"https://shokai.hatenadiary.org/entry/20100802/1280702752"}