@frappe.whitelist()
def toggle_like(doctype, name, add=False):

	_toggle_like(doctype, name, add)
Adds / removes the current user in the `__liked_by` property of the given document.
dataset/ETHPy150Open frappe/frappe/frappe/desk/like.py/toggle_like