Use the Twitter API to run a script every time I post a new tweet
- by Mathias Bynens
I have a PHP script on my server that I want to run every time I post a new tweet to Twitter. Is there a way to automate this?
I could of course set up a cron job to run the script every five minutes, or run the script manually every time after tweeting, but neither of those is instant — and that’s exactly what I’m looking for.
Is it possible to use the Twitter API to run a script / get a URL every time my timeline is updated?