Max Hours Since Tweet ignored

Support / help / discussion forum for twitter bot
Post Reply
Reapzzz
Posts: 11
Joined: Fri Jun 11, 2021 7:33 pm

Max Hours Since Tweet ignored

Post by Reapzzz »

hi,

I'm having issues with TD ignoring the Max Hours since Tweet. I set it to 3 hours Max, go to "Search and Tweet reply" Tab and run the "Latest Tweet of" to reply to specific users tweets but even when their tweets are 11hours old, it shows

Checking Filter: MaxHoursSinceTweet
Value: 11 is <0 or > 3
* IGNORE: MaxHoursSinceTweet

even though it shows as IGNORE it still goes ahead and posts a reply to the tweet.
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

Reapzzz wrote: Fri Jun 11, 2021 7:42 pm hi,

I'm having issues with TD ignoring the Max Hours since Tweet. I set it to 3 hours Max, go to "Search and Tweet reply" Tab and run the "Latest Tweet of" to reply to specific users tweets but even when their tweets are 11hours old, it shows

Checking Filter: MaxHoursSinceTweet
Value: 11 is <0 or > 3
* IGNORE: MaxHoursSinceTweet

even though it shows as IGNORE it still goes ahead and posts a reply to the tweet.
It shouldn't do, is working fine here.

Can you submit logs showing
a) this tweet being ignored in the logs
b) then being processed

HELP > LOGS > SUBMIT

then send your logs ID - the numbers are sufficient (displayed after successful uploading of logs)


Any other relevant information / real time logs / screenshots etc, please post them up, or if private, email them in

Code: Select all

support[at]rootjazz[dot]com
Regards,
Martin
Reapzzz
Posts: 11
Joined: Fri Jun 11, 2021 7:33 pm

Re: Max Hours Since Tweet ignored

Post by Reapzzz »

Thanks martin, I'll post a version with the details edited out, it checks for the 3 hour MAX tweet but then goes on to ignore it even if it has been 7 hours, this is what the log looks like, the only time it actually ignore is if that post has been processed before, then it just says IGNORE: already processed: 14034xxxx so the duplicate tweet ignoring works but not the max hour setting.
Checking account: MyBOT
Initial search setup: MyBOT
Loading previous db logs: MyBOT_ReplyTweet
MyBOT Loaded previous db logs: 10 processed: 5 within 24hrs: 5
Global Daily limit: 0
*** Performing Search ***
performSearchOfTerm
Searching:USERXXX : max: 1000
Check term for tokens: USERXXX
Get bot for: MyBOT
Login: UN: MyBOT : PW:Xxxxxx 138xxxx Proxy: 1xxxxxx
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15
Login: get: https://twitter.com/
tweets: 6
Got enough: 1/1
Results: 1
Login: Success validate:
200
https://twitter.com/
Already logged in: MyBOT
Scraping Daily stats for: MyBOT
Stats: Followers / followings: 0:0
Saving: 2021-06-12 09:46 AM 0 0 0 0 0 0 0 0 5 0 0 to C:\Users\xxx\AppData\Roaming\rootjazz\Twitterdub\stats\e9b2127eae1fxxxx.csv
custom search builder
Loading previous db logs: MyBOT_ReplyTweet
MyBOT Loaded previous db logs: 10 processed: 5 within 24hrs: 5
Max Results Wanted: 1000
Search: USERXXXmax: 1000
Setup custom search controller
Custom search run: search: USERXXX
LatestTweetOf
Perform custom search: 'LatestTweetOf' #chain/total: 1/1 using: MyBOT
One search stage detected, setting default per item per stage value to max: 1000
Start search: LatestTweetOf with: USERXXX(1000) using: MyBOT
Get User: https://twitter.com/USERXXX with: MyBOT
UserDetails: https://twitter.com/USERXXX with: MyBOT Proxy: xxxxxxxx
Scrape from users: 1
Scrape details from: 1 inputs
Getting user details for :1 ids
Total results: 1
* SUCCESS: UserDetails: https://twitter.com/USERXXX with: MyBOT
tweets: 150
Paused for 2secs
Checking Filter: MaxHoursSinceTweet
Value: 7 is <0 or > 3
* IGNORE: MaxHoursSinceTweet

Checking result is unique latest:
Latest: 14035xxx https://twitter.com/USERXXX/status/1403xxxxx
Results of search: 1 LatestTweetOf with: USERXXX
Handle results: 1 nextstep: 2/1
End of chain: Store results: 1
Finished search: results: 1
Found: 1
Remove already processed items from list: Original: 1
Select accounted: MyBOT
account: MyBOT load previously processed items
Removing already process items of: MyBOT
Loading previous db logs: MyBOT_ReplyTweet
MyBOT Loaded previous db logs: 10 processed: 5 within 24hrs: 5
Checking results: 1 against already processed list: 10 of: MyBOT
Finish removing already processed: results :1 removed already processed: 0
Select accounted: MyBOT
account: MyBOT load previously processed items
Checking to remove any of (1) already previous items from merged logs: 10
Nothing removed: 1
*** Pre Process Setup ***
Loop items: 1 with: 1 threads
*** Process Items: 1 with: 1 threads ***
Process: 1/1 : https://twitter.com/USERXXX/status/1403xxxxxx
Select accounted: MyBOT
Use account: MyBOT
Loading previous db logs: MyBOT_ReplyTweet
MyBOT Loaded previous db logs: 10 processed: 5 within 24hrs: 5
Processing: https://twitter.com/USERXXX/status/14035xxxxx with user: MyBOT
Using acc: MyBOT on: https://twitter.com/USERXXX/status/1403xxxxx
Loading previous db logs: MyBOT_ReplyTweet
MyBOT Loaded previous db logs: 10 processed: 5 within 24hrs: 5
PostTweetReply: MY MESSAGE HERER with: MyBOT Proxy: xxxxx
Global Daily limit: 0
Extract ID from URL: 1403xxxxx6009 : https://twitter.com/USERXXX/status/1403xxxxxxx
Is reply
Max length: 280
Checking tweet length: max: 280 : tweet: MY MESSAGE HERE
* SUCCESS: Posted Tweet: https://twitter.com/MyBOT/status/14036xxxxx
* SUCCESS: posted message part: MY MESSAGE HERE
* SUCCESS: PostTweetReply: MY MESSAGE HERE with: MyBOT
MyBOT processed: 1 items this action
Adding unique profile: https://twitter.com/USERXXX 259xxxxx
* SUCCESS (1): https://twitter.com/USERXXX/status/140357xxxxxx user: MyBOT
Pausing for: 5
Paused for: 5 seconds
All items: 1
Remaining items: 0

*********
Processed: 1/1000
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

Checking Filter: MaxHoursSinceTweet
Value: 7 is <0 or > 3
* IGNORE: MaxHoursSinceTweet
This is correct, ignore as 7 is bigger than 3. That part of the code is working.

Let me run some more tests maybe I am missing something obvious in front of me
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

ok I test and it's working here.

Can you explain the EXACT search you are running, perhaps the issue is only exposed when certain search / parameters are set.

Please include enough detail to let me replicate EXACTLY what you are doing. Screenshots probably be enough

Anything private, email it

Code: Select all

support[at]rootjazz[dot]com

Regards,
Martin
Reapzzz
Posts: 11
Joined: Fri Jun 11, 2021 7:33 pm

Re: Max Hours Since Tweet ignored

Post by Reapzzz »

hi Martin,

see attached the screenshots of each section I do.

https://ibb.co/Ns6GGny
https://ibb.co/9N4VyRd
https://ibb.co/vxxptfW
Reapzzz
Posts: 11
Joined: Fri Jun 11, 2021 7:33 pm

Re: Max Hours Since Tweet ignored

Post by Reapzzz »

hi Martin,

see attached the screenshots of each section I do.

https://ibb.co/Ns6GGny
https://ibb.co/9N4VyRd
https://ibb.co/vxxptfW

steps I do

I go to "Search and Tweet Reply" tab, enter the Persons I want to reply to username in the "Search Term" field, then I click on Tweet filter and set 3 hours for example, then I click on custom seach and select "LatestTweetof" since I only want to reply to the users latest tweet, then I go on "Add tweets" and add some sentences I want to reply with and select one of the bot accounts from the list below and click on "reply tweet".
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

ok, maybe it is something to do with the LATEST TWEET OF as this is a special kind of step, it may not be working the same.


I'll test
User avatar
martin@rootjazz
Site Admin
Posts: 34360
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

Fixed

The next update will fix this. I shall let you know when it is ready.



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

Re: Max Hours Since Tweet ignored

Post by martin@rootjazz »

Post Reply