I want to know that if I’m sharing my happines with good intentions but people thought that I am sharing it to feel them down. So have I commited any sin because they thought I am wrong but my intentions are pure?

No, it goes back to your intentions. However you have to try to not hurt the feelings of others.