319Chaning Colors in Twitter with the API
require "<a href="http://github.com/jdp/twitterlibphp">twitter.lib.php</a>"; $username = "<a href="http://twitter.com/trembl/">trembl</a>"; $password = "••••••••"; $twitter = new Twitter($username, $password); $options = array( "profile_background_color" => "fff", "profile_text_color" => "fff", "profile_link_color" => "fff", "profile_sidebar_fill_color" => "fff", "profile_sidebar_border_color" => "fff" ); $update_response = $twitter->updateProfileColors($options); print_r($update_response);
Nice, isn’t it?