Did I do the right thing or acttoo harshly?

there is this guy I liked that I was also told like me in return. We exchanged numbers I would text him maybe every other week not often he never reached out me first and he only responded with short answers that didn’t carry the conversation on. Then one day I texted him and he didn’t respond at all
but posted a lot on Facebook so he was clearly ignoring me. I felt hurt so I unfriended him on Facebook. I was feeling rejected like he’s not interested in talking to me. Some friends said I was to harsh and should have left him as a friend on Facebook but just not text him anymore. But I felt upset with every post I saw as a slap in the face to me that I wasn’t worth talking to. What do you think was I too harsh?
Did I do the right thing or acttoo harshly?
Add Opinion