Thanks for you reply.
When I use image link in twitter composer it doesn’t show the image preview in the tweet but just text of the link as you can see below.
Is there a way a preview of the image link can be shown in tweet through composer?
I have also tried LinqToTwitter library in C# to upload media which works fine but for that I have to specify ConsumerKey, ConsumerSecret, OAuthToken, OAuthTokenSecret which is for a specific user account all the time. Also through this option there is no user interface from twitter so that user can see the composer screen etc. I want to give option to the user to tweet image in his/her account through my web application and ideally if twitter can handle login flow will be great like how facebook does in the below link https://developers.facebook.com/docs/sharing/reference/feed-dialog
Is there a way in twitter?