I think you’re using an outdated workflow here. Actually, there is a ready-to-use X/Twitter node you can use directly.
Also, the API works with the basic plan too.
Please take a look here for a sample workflow Post Media to X/Twitter via API (NEW)