Solve #5348
Add ActiveRecord::RecordNotFound catching. Add tests.
Merge pull request #5491 from collimarco/solved5348

Solve #5348
Handle reshares of deleted posts in OpenGraph tags generation code
Merge pull request #5497 from jhass/og_reshare_fix

Handle reshares of deleted posts in OpenGraph tags generation code