Can we do non-Pinbased login to twitter in order to upload image?



I want to be able to upload a screen shot with out opening the web browser because of game constraint.
The game run on Window PC. So is it possible to auth with out doing the pin based auth so i dont need to open the we browser? and if there is a way would it allow me to upload Picture for tweet ?