Upload Images On Twitter Using PHP
Well I get the answer, Download Twitter Api for php & created one function. function image_upload(){ define( ‘YOUR_CONSUMER_KEY’ , ‘your twitter app consumer key’); define( ‘YOUR_CONSUMER_SECRET’ , ‘your twitter app consumer key secret’); require (‘twitt/tmhOAuth.php’); require (‘twitt/tmhUtilities.php’); $tmhOAuth = new tmhOAuth(array( ‘consumer_key’ => “YOUR_CONSUMER_KEY”, ‘consumer_secret’ => “YOUR_CONSUMER_SECRET”, ‘user_token’ => “YOUR_OAUTH_TOKEN”, ‘user_secret’ => “YOUR_OAUTH_TOKEN_SECRET”, )); $image=”image.jpg”; … Read more