dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Loop through facebook page and invite all

  1. #1
    Join Date
    Oct 2017
    Posts
    2

    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.
    Exactly like this, which is what Im looking at but instead of clicking on every individual post, it would do this for the most recent.

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,385
    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.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Join Date
    Oct 2017
    Posts
    2
    I dont think this would work just by changing the buttons.length. Since the people that interacted is not visible.

  4. #4
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,385
    You said loops through the last ten or twenty posts so you would need to loop through the elements to find those items you want to add.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center