a guy friend texted me ' Would u beg to have s3x with me and my friend( a guy)?

so I pissed and replied 'no, ur gross'

then he replied 'haha i was just joking we were betting on what u would say'

omg what a douch isnt he?

so i took a photo of the text and spread it out on facebook sending this to some of his friends .

he discovered then he was soo mad at me he texted me like

' what u did was very spiteful ur an evil i treated u like a friend is this how u respond blahblah'

but he did wrong at frist right?