I implemented the like button and the like release button as follows.
The condition of liking is the liking status if your ID is included among the user IDs in the array