I think one would be thanking someone for a particular post but hugging a person, not the post :-) So, the post would not be "hugged" but have a hug (for the poster) attached to it but the sentiment in the post would be like/agreed with and one would be thanked for that sentiment, not for themselves. It looks like a grammatical/usage thing versus people situation?