updated tool to use new facebook api v.4