I’m looking for a script that loops through the last ten or twenty posts on my page and invites every one that has interacted to the page. [URL=”https://gist.github.com/guiliredu/ef83ac2c81452a7116956f3fd73b406d”]Exactly like this[/URL], which is what Im looking at but instead of clicking on every individual post, it would do this for the most recent.
@rootOct 12.2017 — #Just change the amount of buttons you iterate through, instead of buttons.length, change to a number like 10, 15, 20 or however many you want to include.
@rootOct 13.2017 — #You said [B] loops through the last ten or twenty posts [/B] so you would need to loop through the elements to find those items you want to add.