Refactoring opengraph and rewards