DM2Tweet: Difference between revisions
Jump to navigation
Jump to search
Created page with "Our Twitter bot will allow all allowed users to post updates as @HSNOTTS on [http://www.twitter.com Twitter] by simply sending a DM from their own twitter accoutn to @HSNOTTS. =..." |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
This script will be run every 10 minutes or so via a cron job. | This script will be run every 10 minutes or so via a cron job. | ||
[[Category:Network]] | |||
[[Category:Online Presence]] | |||
[[Category:Pages_for_Update]] |
Latest revision as of 14:29, 12 December 2014
Our Twitter bot will allow all allowed users to post updates as @HSNOTTS on Twitter by simply sending a DM from their own twitter accoutn to @HSNOTTS.
Script Overview
The script is fairly simple. It uses single user authentication to log into the @HSNOTTS account and download the DMs. It then checks the sender of each one against it's allowed users list. Any that match are simply tweeted out.
This script will be run every 10 minutes or so via a cron job.