https://github.com/codedotjs/like-facebook-posts
:+1: Likes all facebook posts and comments.
https://github.com/codedotjs/like-facebook-posts
Last synced: 9 months ago
JSON representation
:+1: Likes all facebook posts and comments.
- Host: GitHub
- URL: https://github.com/codedotjs/like-facebook-posts
- Owner: CodeDotJS
- Created: 2016-01-12T01:49:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T00:05:08.000Z (over 9 years ago)
- Last Synced: 2025-03-20T00:41:18.063Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Likes Facebook Posts
> Simple javascript snippet to like all the facebook posts and comments.
## Usage
```
Load the complete page and paste the snippet given below in your Browser's console
```
```js
function getLikes() {
for (var startNode = 0; document.getElementsByClassName("UFILikeLink")[startNode]; startNode++) {
if (document.getElementsByClassName("UFILikeLink")[startNode].innerHtml != "Unike") {
document.getElementsByClassName("UFILikeLink")[startNode].click();
}
}
console.log("Liked All"); // if you are putting it at one place you can use other notifiers like toaster etc
}
```
```
Hit Enter
```