RT Tweets By Random User - From List?

Support / help / discussion forum for twitter bot
kevshTO
Posts: 101
Joined: Tue Oct 24, 2017 3:09 pm

RT Tweets By Random User - From List?

Post by kevshTO »

Hi,

I've been testing different ways to RT a number of tweets (e.g. 2-4) by a group of users so that it's not always the same users in the same order. Can't find a way to make it work, yet.

Specifically, I've tried importing a list of user accounts from a text file and selecting "From List", but as you mentioned previously this treats the input as specific URLS so it will always try RTing the most recent (original) tweet from a user/url and if it fails (likely I've already RTed the most current tweet) it will just move on to the next user/url. This would work perfectly if it wouldn't quit after failing to RT the most recent, rather going on to the next most recent tweet at the specified url and try that.

If I try a "Tweet Search" (or Custom Search, e.g. RecentTweetsOf) it will create separate actions for each user/url in the imported file. That would be fine, accept If I run this more than once (repeated daily for example) it will always run the same created actions in the same order. My list of users/urls changes daily so this doesn't work. Not a problem with From List because it seems to read the input file at the time the action starts.

So, both those methods have a serious drawback that seemingly make it impossible - unless I'm missing something. In a perfect world, I'd like to somehow combine the From List function with RecentTweetsOf, so that it grabs a (ideally, random) specific user/url from the imported list, RTs X number of original tweets from that user then moves to the next one. When the input file is rewritten the next day the order will be different making it more random (hence, if it just grabbed the user/urls from top to bottom in the order they are listed that would work too as my input file randomly picks, say, 5 users form a list of 15 and shuffles the order before creating the input file).

Sorry for the very long post/question, just want to be sure it's clear exactly what I am looking to do and the process I'm using. Any advice on how to make this work, if possible, would be appreciated.
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

https://rootjazz.com/twitterdub/updatetesting.html

Custom search:
A USER ID OR URL

Will now allow a filepath, so you can build an action:

USER ID URL
RECENT TWEETS (1)

Search input:
filepath,rand

Code: Select all

c:\file\path.txt,rand
and the inputs of the file will be randomised each read
kevshTO
Posts: 101
Joined: Tue Oct 24, 2017 3:09 pm

Re: RT Tweets By Random User - From List?

Post by kevshTO »

martin@rootjazz wrote: Sat Mar 23, 2019 5:17 pm https://rootjazz.com/twitterdub/updatetesting.html

Custom search:
A USER ID OR URL

Will now allow a filepath, so you can build an action:

USER ID URL
RECENT TWEETS (1)

Search input:
filepath,rand

Code: Select all

c:\file\path.txt,rand
and the inputs of the file will be randomised each read
Thanks for adding this feature, should be perfect for what I'm looking for. The only issue I've seen after a few tests is that it's looking up one account and retweeting only from that one? The first run it RTed 11 from the same account then finished. That may have to do with my settings as I'm not clear on the "Set Number of Items to return for the search stage" value in Custom Search. (I set Max Actions in the main RT settings to a number like 10 and then to 0, same result)

If I use the example you provided what's the difference between setting User ID or URL to (1) or (3), and then If the next step is RecentTweetsOf, setting that to (1) or (3)?

Examples:
User ID (1) / RecentTweetsOf (3) will mean 1 account will get 3 retweets .. ?
User ID (3) / RecentTweetsOf (3) will mean 3 accounts will get 3 retweets (total/each) ? Does this affect the Max Actions/Fluctuation in the regular Retweet options or vice versa?
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

kevshTO wrote: Mon Mar 25, 2019 3:57 am
martin@rootjazz wrote: Sat Mar 23, 2019 5:17 pm https://rootjazz.com/twitterdub/updatetesting.html

Custom search:
A USER ID OR URL

Will now allow a filepath, so you can build an action:

USER ID URL
RECENT TWEETS (1)

Search input:
filepath,rand

Code: Select all

c:\file\path.txt,rand
and the inputs of the file will be randomised each read
Thanks for adding this feature, should be perfect for what I'm looking for. The only issue I've seen after a few tests is that it's looking up one account and retweeting only from that one? The first run it RTed 11 from the same account then finished. That may have to do with my settings as I'm not clear on the "Set Number of Items to return for the search stage" value in Custom Search. (I set Max Actions in the main RT settings to a number like 10 and then to 0, same result)

If I use the example you provided what's the difference between setting User ID or URL to (1) or (3), and then If the next step is RecentTweetsOf, setting that to (1) or (3)?

Examples:
User ID (1) / RecentTweetsOf (3) will mean 1 account will get 3 retweets .. ?
User ID (3) / RecentTweetsOf (3) will mean 3 accounts will get 3 retweets (total/each) ? Does this affect the Max Actions/Fluctuation in the regular Retweet options or vice versa?
There should be a tutorial on custom search in the new playlist:

v2: Getting Started with Twitterdub (updated)
https://www.youtube.com/watch?v=fYiZRel ... EflfH0NrWV

--------------------------------
Older tutorials
Getting started with Twitterdub
https://www.youtube.com/playlist?list=P ... 2WUsB1rQN3

All Twitterdub tutorials:
https://www.youtube.com/playlist?list=P ... nlEefs2Gan


Also you could watch the instagram tutorial - the functionality is exactly the same


Custom Search Tutorial Video
https://www.youtube.com/watch?v=5FJLhHo ... lw&index=6

Explains how to build a search and specify how many results per step (optional)

--------------------------------

Once you have selected a search step, you can double click it to set the results per step

So if you double click RECENT TWEETS (or maybe is called USER TWEETS) and specify 3, you will return 3 tweets per user.


so you need to
1) create file of users, one per line
2) create custom search
URL / ID
USER TWEETS(n)
3) set max actions / max items to how many lines you have x (n) so if 10 lines, max_items = 30
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

please update again

https://rootjazz.com/twitterdub/updatetesting.html

I think you did not update to the correct version as the update page pointed to the wrong link
kevshTO
Posts: 101
Joined: Tue Oct 24, 2017 3:09 pm

Re: RT Tweets By Random User - From List?

Post by kevshTO »

martin@rootjazz wrote: Mon Mar 25, 2019 11:01 pm please update again

https://rootjazz.com/twitterdub/updatetesting.html

I think you did not update to the correct version as the update page pointed to the wrong link
I updated to 2.0.7.3, think that's the correct one.

As for the Custom Search, it's still retweeting from the same account each time.

Settings:
Search Term: (file path),rand
Custom Search: User ID or URL (default) -> RecentTweetsOf (3)
Unique Items (checked)
Tweet Filter: Original Tweets Only (checked)
Max Actions: 12 Fluct. 3

Everything else is default (besides Random Pause)
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

kevshTO wrote: Tue Mar 26, 2019 3:24 pm
martin@rootjazz wrote: Mon Mar 25, 2019 11:01 pm please update again

https://rootjazz.com/twitterdub/updatetesting.html

I think you did not update to the correct version as the update page pointed to the wrong link
I updated to 2.0.7.3, think that's the correct one.
No, current latest is 2.076

https://rootjazz.com/twitterdub/updatetesting.html

Please update and try this version it is what I am using and here it is working.

After running a test action from a file with 2-3 items, please submit logs if not working

and email me the file you are using so I can test that and be as close to what you are doing as possible

Code: Select all

support[at]rootjazz[dot]com
As for the Custom Search, it's still retweeting from the same account each time.

Settings:
Search Term: (file path),rand
Custom Search: User ID or URL (default) -> RecentTweetsOf (3)
Unique Items (checked)
Tweet Filter: Original Tweets Only (checked)
Max Actions: 12 Fluct. 3

Everything else is default (besides Random Pause)
that looks fine though
kevshTO
Posts: 101
Joined: Tue Oct 24, 2017 3:09 pm

Re: RT Tweets By Random User - From List?

Post by kevshTO »

Updated to 2.0.7.764

Still RTing only from one account. The action in the log uses the same settings as I posted earlier, but using:

- 3 accounts listed in input file.
- Custom Search: User ID (3), User Tweets (2), with a Max Items set at (6).
- Note: I also tried a few variations, once leaving the User ID as default, User Tweets (2) and another run with the User ID as default and using RecentTweetsOf (2) instead of User Tweets.

Result is it RTed 6 tweets from the same account each time and then finished.
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

testing now
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: RT Tweets By Random User - From List?

Post by martin@rootjazz »

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



Regards,
Martin
Post Reply