title: How to tweet picture with text
body: <p>I want to share my app images in Twitter.
  I want to tweet picture with text using Javascript and php and Twitter Api's with callback functions.
  How can i do this?</p>
  
  <p>I have tried </p>
  
  <pre><code>&lt;script type="text/javascript" src="jquery.twitterbutton.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('#twitterbutton-example').twitterbutton({
              user: 'POSimplicity',
              title: ' powered by POSimplicity',
              count_url: false,
              user_description: 'user description',
              url: 'http://www.abc.in/index.php',
              ontweet: function (response) {
                  var id = $("p").html();
  
                  $.ajax({
                      url: 'add_customer.php',
                      data: 'twitpoints=' + '&lt;?php echo $res['
                      0 ']['
                      regpoints ']; ?&gt;' + '&amp;total_points=' + '30' + '&amp;customer_id=' + id,
                      dataType: 'html',
                      success: function (res) {
                          alert(res);
                      }
                  });
              },
              lang: 'en'
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>In this i am able to tweet URL but not images.</p>