![]() |
|
[Python] Python Twitter updater - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Python Twitter updater (/showthread.php?tid=5469356) |
Python Twitter updater - xx1ben99xx - Nov 20, 2016 Hi, I want to be able to get somebodies tweets as soon as they tweet, but so far all I can do is make it so that when i manually ask for the tweets rather then it automatically updating for me. Heres my code: PHP Code So how do I get it to automatically update rather than rerunning the script? * - Delysid - Nov 20, 2016 Perhaps use some kind of a listener to listen for new tweets and instantly notify you when they are out? * - xx1ben99xx - Nov 20, 2016 (Nov 20, 2016 08:10 AM)Delysid Wrote: Perhaps use some kind of a listener to listen for new tweets and instantly notify you when they are out? Yeah I thought that but had no idea how to do it? ok I have this so far PHP Code So im using this as a discord bot but I dont know how to make it write the new tweets in the chat, btw there is more to the program but i didnt include it. I can make it write the idle but not in the dicord - fyi the bot is fully working |