How can you make a guy friend to like you?

I have been friends with this guy for over a year, we met on a friend's trip, his friends told me that he likes me so I pulled away cause I was scared and he seemed to rush.

I pulled away for about 3 months and we then I texted him and we had good contact for like 5 months and I realise that he was so good and I like him so I confessed to him last December that I like him, he said that he no longer have feelings for me. Can I change this?

How can you make a guy friend to like you?
Post Opinion