changed the graph api call for app object