Use the Twitter API to run a script every time I post a new tweet
Posted
by Mathias Bynens
on Stack Overflow
See other posts from Stack Overflow
or by Mathias Bynens
Published on 2010-03-30T07:10:30Z
Indexed on
2010/03/30
7:13 UTC
Read the original article
Hit count: 600
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?
© Stack Overflow or respective owner