how to know they like you

when you talk to them and they flirt with you that's a huge hint but to know for sure start talking with there friends and hint them on that you like that person and ask about them and normally they'll crack and say that that girl/guy likes you or they'll hint you in like someone likes you but I cant tell you who