The Twitter API requires that you use OAuth (an authenticated access token) to use the statuses/update
endpoint. So, no, it is not possible to post a Tweet using just the username and password.
solved How to post a twit using C# with username and password? [closed]