Is there any way to upload photo on Twitter using xAuth or OAuth authentication in iPhone? Is there any sample code or framework I can use?
According to this answer it's not possible to upload images directly to Twitter. You need to yup load to some other photo-sharing site, and link to it in your Twitter post. I'd recommend looking into imgur. They have an API which you may be able to use.