Can we do this with mass web api

Support / help / discussion forum for twitter bot
Post Reply
qpick
Posts: 48
Joined: Mon Dec 11, 2023 2:32 pm

Can we do this with mass web api

Post by qpick »

I would like to have 3 actions - Like, RT, Bookmark and instead of sending 3 API request can we send just 1 api request which jus create 1 task with all 3 of them inside it.
User avatar
martin@rootjazz
Site Admin
Posts: 34846
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Can we do this with mass web api

Post by martin@rootjazz »

No. Not supported at the moment.

Only individual MASS <action> (mass like / mass follow / mass view / mass comment) can be created per API call.


I was going to add support for MASS ACTION (that allows multiple mass <actions> in a single processing row action, but it was getting too complicated to allow all the options you get on the TD UI


I suppose I could offer a simple subset

"actions":"follow,like,bookmark,views"
"numfollow":10
"numlike":5
"numviews":100
"numbookmark":20
Then pauses apply to everything. But this would then require changes to the code for the reports... so it starts to turn into a bigger job. Then what is status if mass_action.follow is successful and mass_action.like fails..


It's just much easier to leave it, one API call, one mass job
qpick
Posts: 48
Joined: Mon Dec 11, 2023 2:32 pm

Re: Can we do this with mass web api

Post by qpick »

Got it Martin. Maybe in future :mrgreen: :mrgreen:
Post Reply