It's good that you made it work.
Just in case, I show the screenshots of actions in Workflow that remove all followers (actions must be placed in a set order, as in the screenshots):
Execute Formula Script Code:
Code:
$getResponce = json\retrieve($_lastHttpResponseBody, 'list'); $getResponceEncode = json\encode($getResponce); $i = 0; $followersIds = list(); while( $i < array\length($getResponce), ( $followersIds = array\push($followersIds, json\retrieve($getResponceEncode, string\concatenate('', $i, '.id')) ); $i = $i + 1; ) );
Leave a comment: