Thank you for publishing your code. Very nice to read through it. Can you tell me, is it possible to 'like' or unlike someone else's article, by guessing the id?
No. It's not possible to guess someone else's article (I guess you probably mean reading records here). Those reading records must be get or set with a cookie that indicate the user has logged in with the right account (which is done by ajax in the code).