ご質問ありがとうございます。
・「The same thing happened to me.」
=「私にも同じ事がおこりました。」
(例文)The same thing happened to me. I know how you feel.
(訳)私にも同じ事がおこりました。共感できます。
・「He did the same thing to me.」
=「彼は私に同じ事をしました。」
(例文)He did the same thing to me. I can't believe he did it again!
(訳)彼は私に同じ事をしました。同じ事をもう一度やるなんて信じられない!
お役に立てれば嬉しいです。
Coco
**He did the same thing to me before, too.**
**I’ve been through the same thing with him.**
一番自然な表現は **He did the same thing to me before** で、「彼は以前、私にも同じことをしたよ」という意味になります。