Change Twitter Profile Picture (Avatar) with Google Scripts

This Google Script updates the Twitter user’s profile image or avatar. Twitter asynchronously processes the uploaded file before updating the user’s profile image URL.