Post Tweet from File

Support / help / discussion forum for twitter bot
Post Reply
shaily
Posts: 95
Joined: Mon Aug 12, 2019 2:30 am

Post Tweet from File

Post by shaily »

Hi Martin,
When we are posting a tweet from file (which has around 10 tweets), there are a few things that happen:
1. It keeps waiting for the file to be updated, and thus keeps all the other processes in the "waiting" mode.
2. If we want one post to be posted at a time and the next post out of the 10 tweets in say 12 hours, then it doesn't execute the tweet after the 12 hours. It seems it keeps waiting for the file to be updated. I want it to keep posting tweets from the file and randomly (can be repeat tweets) and when the file is updated, it adds it to the list and keeps running the process. e.g. if another tweet is added to the file, it then keeps posting 11 tweets and so forth.

How do we solve these problems?

Hope this makes sense.

Regards,
Shaily
User avatar
martin@rootjazz
Site Admin
Posts: 34634
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Post Tweet from File

Post by martin@rootjazz »

shaily wrote: Fri Feb 28, 2020 1:01 am Hi Martin,
When we are posting a tweet from file (which has around 10 tweets), there are a few things that happen:
1. It keeps waiting for the file to be updated, and thus keeps all the other processes in the "waiting" mode.
There is an option to run the action as long lived or not. Long lived mean the actions is always live, so you need to increase threads to run run other actions, or if not long lived, on completion it will finish and set a repeat time to next run, allowing other actions to run
2. If we want one post to be posted at a time and the next post out of the 10 tweets in say 12 hours
set the random pause to 12 hours, then it will post one tweet every 12 hours.

But if you want more specific control on how the tweets are posted, from file is not the action to use. Wrong tool for the job
Post Reply