A simple library I made that lets you easily add views and likes to your project.
U-BIbpH3hELlx4rpmoc7-GzExra3bJaohAik1tQFZro
Functions:
ViewLike.getViews()
Returns the current number of views.
ViewLike.getLikes()
Returns the current number of likes.
ViewLike.getLiked()
Returns whether or not the current user liked the project. Useful for coloring in the like button.
ViewLike.like()
Likes the project. Each user can only like a specific project once.
ViewLike.unlike()
Unlikes the project.