Try running the script manually from your web browser, it'll show you the reason why tweet can't be posted.
Also make sure you've given "Read and Write" permissions for your Twitter app, this is important.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.