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:
- Login Page
- Enter Credentials
- Click Login Button (Submit)
- Wait for the News Feed Page to Load fully
- Search for the given Page
- Click the first Page from the Page Search Results
- Wait for the Page to Load
- Select the Posts container
- Loop over all the posts
- Extract the Like button of each Post
- Click on the Like button