/    Sign up×
Community /Pin to ProfileBookmark

Loop through facebook page and invite all

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.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@openskies2009authorOct 13.2017 — I dont think this would work just by changing the buttons.length. Since the people that interacted is not visible.
Copy linkTweet thisAlerts:
@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.
×

Success!

Help @openskies2009 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...