Fixed the issue to share a post with friends