Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Support / help / discussion forum for twitter bot
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by bitcoin »

Hello Martin,

I did an experiment (I mentioned it in another thread but fail to find it atm) with the following...
Tab: Search Retweet
Search term == from:Account

Main goal to achieve: retweeting by my 4 accounts I selected (see below) from 1 account (ftbankofficial).

I have it running for 3 days and this is one of the logs:

Code: Select all

Tweet Search: from:ftbankofficial using 4 accounts:  Max: 4
Starting: 06/09/2017 00:41 AM
Search: from:ftbankofficial
Num: 4
Unique: True
SearchType: -1

*** Pre Search Setup***
*** Performing Search ***
Specified search: from:ftbankofficial
Specified search: from:ftbankofficial
Loading previous db logs: d7e9a04b-4c8c-4c34-9765-2d96bd4e2c32_Retweet
Loaded previous db logs: 3 processed: 3 within 24hrs: 1
absearch: alreadyprocessed: 3
Searching: from:ftbankofficial type: recent
Check to exclude item: 904450358457585668
Account changed: crypto_growers
Check to exclude item: 904418850644615168
Account changed: jesus_cryptos
Check to exclude item: 904283437296750592
Account changed: Crypto__Fun
Check to exclude item: 904230706158718976
Found: 4
Got: 4 from tweet search
Unique: 4 from tweet search
Search results: 4
Found: 4
Checking to remove any of (4) already previous items from merged logs: 22
Items after removed already processed: 0
*** Pre Process Setup ***
Is shared action
Loop items: 0 with: 1 threads
*** Process Items: 0 with: 1 threads ***
Processed all items
Started: 06/09/2017 00:41 AM
Finished: 06/09/2017 00:41 AM
ID: 12d2ea72-56b1-48df-be9b-f5086cae37a2
Action ran for: 0hr:0min:1s
Repeat action: daily runner: 23:30
Fluctuate wait: 101
Random fluctuate: 101
Next Daily runnner: After Fluctuated9/6/2017 10:03 PM
Scheduled to: 9/6/2017 10:03 PM
Action Contents:

Code: Select all

SearchTerm:from:ftbankofficial
PauseMin:21000
PauseMax:22200
NumMax:4
RepeatEveryXHours:0
NumRepeatsTodo:0
RepeatEveryXMins:0
FluctuateRepeatEveryXMins:0
MaxDailyRepeatsAllowed:0
FluctuateMaxItemsTodo:0
Follow:False
Shared:True
Unique:True
Like:True
List Accounts:ICO_PCA,crypto_growers,jesus_cryptos,Crypto__Fun
User avatar
martin@rootjazz
Site Admin
Posts: 34598
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by martin@rootjazz »

Why are you searching:
from:<term>

the log shows you find 4 items, they are removed due to processing before so 0 to process
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by bitcoin »

so... is it retweeting or not? The logs don't make that clear.
User avatar
martin@rootjazz
Site Admin
Posts: 34598
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by martin@rootjazz »

bitcoin wrote:so... is it retweeting or not? The logs don't make that clear.
The logs are clear:
Items after removed already processed: 0
*** Pre Process Setup ***
Is shared action
Loop items: 0 with: 1 threads
*** Process Items: 0 with: 1 threads ***
after removing already processed items, there are 0 items left to process.


The search is not finding any content
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by bitcoin »

aaah ok - and is that because my search query is wrongly formatted? Or because they have a slow tweet volume?
User avatar
martin@rootjazz
Site Admin
Posts: 34598
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by martin@rootjazz »

I think so. The term is strange and unpopular, you have processed all results so no more left to process
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by bitcoin »

martin@rootjazz wrote:I think so. The term is strange and unpopular, you have processed all results so no more left to process
Ok, will test this strategy some more to see what happens... For now, thanks : )
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Q: can I see in the log if I'm actually retweeting results 'from:account'-Search Retweets?

Post by bitcoin »

I looked a bit more...

from:Account is a valid twitter search and returns results. I still wasn't sure if TD handled it correctly. If I look at the logs, from:account should work...

Code: Select all

23:14:00: Starting: 28/09/2017 23:14 PM
23:14:00: Search: from:ftbankofficial
Num: 4
Unique: True
SearchType: -1

23:14:00: *** Pre Search Setup***
23:14:00: *** Performing Search ***
23:14:01: Specified search: from:ftbankofficial
23:14:01: Specified search: from:ftbankofficial
23:14:01: Loading previous db logs: a0a85aaf-ed98-4dfe-8c85-88f15e58877c_Retweet
23:14:01: Loaded previous db logs: 62 processed: 62 within 24hrs: 1
23:14:01: absearch: alreadyprocessed: 62
23:14:01: Searching: from:ftbankofficial type: recent
23:14:02: Check to exclude item: 913398933518524417
23:14:02: Account changed: crypto_growers
23:14:02: Check to exclude item: 913021584025292800
23:14:02: Account changed: jesus_cryptos
23:14:02: Check to exclude item: 912671564436590599
23:14:02: Account changed: Crypto__Fun
23:14:02: Check to exclude item: 912386773883473920
23:14:02: Found: 4
23:14:02: Got: 4 from tweet search
23:14:02: Unique: 4 from tweet search
23:14:02: Search results: 4
23:14:02: Found: 4
23:14:02: Checking to remove any of (4) already previous items from merged logs: 49
23:14:02: Items after removed already processed: 2
23:14:02: *** Pre Process Setup ***
23:14:02: Is shared action
23:14:02: Loop items: 2 with: 1 threads
23:14:02: *** Process Items: 2 with: 1 threads ***
23:14:02: Process: 1/2 : 913398933518524417
23:14:02: Loading previous db logs: d7e9a04b-4c8c-4c34-9765-2d96bd4e2c32_Retweet
23:14:02: Loaded previous db logs: 30 processed: 30 within 24hrs: 0
23:14:02: Get bot for: crypto_growers
23:14:02: Processing: 913398933518524417 with user: crypto_growers
23:14:02: Using acc: crypto_growers on: 913398933518524417
23:14:06: Like before: 913398933518524417
23:14:06: Like : 913398933518524417 using:crypto_growers
23:14:09: Liked: https://twitter.com/ftbankofficial/statuses/913398933518524417
23:14:09: * SUCCESS: Like before: 913398933518524417
23:14:09: Check for pause of adnl action: Like
23:15:50: Paused after adnl action: Like for: 101 seconds
23:15:50: Retweet: 913398933518524417 using: crypto_growers
23:15:52: Retweeting: https://twitter.com//statuses/913512605456646145
23:15:52: logging processed: 913398933518524417
23:15:52: * SUCCESS (1): 913398933518524417 user: crypto_growers
23:15:52: Check for pause: 21000,22200
23:15:52: Pausing for: 21324
User avatar
martin@rootjazz
Site Admin
Posts: 34598
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Q: can I see in the log if I'm actually retweeting results 'from:account'-Search Retweets?

Post by martin@rootjazz »

bitcoin wrote: Sun Oct 01, 2017 7:50 pm I looked a bit more...

from:Account is a valid twitter search and returns results. I still wasn't sure if TD handled it correctly. If I look at the logs, from:account should work...

Code: Select all

23:14:00: Starting: 28/09/2017 23:14 PM
23:14:00: Search: from:ftbankofficial
Num: 4
Unique: True
SearchType: -1

23:14:00: *** Pre Search Setup***
23:14:00: *** Performing Search ***
23:14:01: Specified search: from:ftbankofficial
23:14:01: Specified search: from:ftbankofficial
23:14:01: Loading previous db logs: a0a85aaf-ed98-4dfe-8c85-88f15e58877c_Retweet
23:14:01: Loaded previous db logs: 62 processed: 62 within 24hrs: 1
23:14:01: absearch: alreadyprocessed: 62
23:14:01: Searching: from:ftbankofficial type: recent
23:14:02: Check to exclude item: 913398933518524417
23:14:02: Account changed: crypto_growers
23:14:02: Check to exclude item: 913021584025292800
23:14:02: Account changed: jesus_cryptos
23:14:02: Check to exclude item: 912671564436590599
23:14:02: Account changed: Crypto__Fun
23:14:02: Check to exclude item: 912386773883473920
23:14:02: Found: 4
23:14:02: Got: 4 from tweet search
23:14:02: Unique: 4 from tweet search
23:14:02: Search results: 4
23:14:02: Found: 4
23:14:02: Checking to remove any of (4) already previous items from merged logs: 49
23:14:02: Items after removed already processed: 2
23:14:02: *** Pre Process Setup ***
23:14:02: Is shared action
23:14:02: Loop items: 2 with: 1 threads
23:14:02: *** Process Items: 2 with: 1 threads ***
23:14:02: Process: 1/2 : 913398933518524417
23:14:02: Loading previous db logs: d7e9a04b-4c8c-4c34-9765-2d96bd4e2c32_Retweet
23:14:02: Loaded previous db logs: 30 processed: 30 within 24hrs: 0
23:14:02: Get bot for: crypto_growers
23:14:02: Processing: 913398933518524417 with user: crypto_growers
23:14:02: Using acc: crypto_growers on: 913398933518524417
23:14:06: Like before: 913398933518524417
23:14:06: Like : 913398933518524417 using:crypto_growers
23:14:09: Liked: https://twitter.com/ftbankofficial/statuses/913398933518524417
23:14:09: * SUCCESS: Like before: 913398933518524417
23:14:09: Check for pause of adnl action: Like
23:15:50: Paused after adnl action: Like for: 101 seconds
23:15:50: Retweet: 913398933518524417 using: crypto_growers
23:15:52: Retweeting: https://twitter.com//statuses/913512605456646145
23:15:52: logging processed: 913398933518524417
23:15:52: * SUCCESS (1): 913398933518524417 user: crypto_growers
23:15:52: Check for pause: 21000,22200
23:15:52: Pausing for: 21324
Twitter API allowed or twitter website allowed? There are some things which the site does the API doesn't (or does differently).

For example, in the website you use tokens, but the API requires the building of the request URL differently
User avatar
martin@rootjazz
Site Admin
Posts: 34598
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Q: can I see in the log if I'm actually retweeting results from Search Retweets?

Post by martin@rootjazz »

although the website will sure you a non-date ordered list of tweets with that token, the API does not seem to have that option

https://developer.twitter.com/en/docs/t ... r_timeline

there is not always a parity between the two (site / api)
Post Reply