deleted old graph api code