Refactor Post Medatadata code
Clean-up social share