I have a drupal 7 site, and after sharing posts to facebook, I saw strange behaviour. When I use quotes in heading, after sharing the article i see '"e; and #039, what causes this and how can I avoid it? I use addtoany drupal7 module.
Those are the encoded values of the characters. Before you share it to the facebook, check any hook if module is providing to decode it and then share it.
You'll have to use htmlspecialchars_decode($str); to do that.