Skip to content

This project is written using Puppeteer Library for Automation tasks in NodeJS. A destination page is given on which posts need to be liked. The automation script written will direct browser to login and reach the page and like first n (given) posts on the page.

Notifications You must be signed in to change notification settings

capi1O/automated-like-facebook-page-posts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automate-Facebook-to-like-any-number-of-posts-on-any-page-using-puppeteer-in-NodeJS

Automated the Facebook Post(s) Likes just to test the automation tools for education purposes and a little fun. There is no business purpose behind this. This is done in order to experiment the bounds of Automation in puppeteer for educational purposes. This project is written using Puppeteer Library for Automation tasks in NodeJS. A destination page is given on which posts need to be liked. The automation script written will direct browser to login and reach the page and like first n (given) posts on the page.

Steps in the Automation Process:

  1. Login Page
  2. Enter Credentials
  3. Click Login Button (Submit)
  4. Wait for the News Feed Page to Load fully
  5. Search for the given Page
  6. Click the first Page from the Page Search Results
  7. Wait for the Page to Load
  8. Select the Posts container
  9. Loop over all the posts
  10. Extract the Like button of each Post
  11. Click on the Like button

demo-FB-Automation

usage

  • fill FB username and password in activity/credentials.json file
  • cd activity
  • npm i
  • node automate_FB.js "./credentials.json" "https://m.facebook.com/SomeFacebookPage" 1000

About

This project is written using Puppeteer Library for Automation tasks in NodeJS. A destination page is given on which posts need to be liked. The automation script written will direct browser to login and reach the page and like first n (given) posts on the page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Batchfile 1.4%