isolate facebook api call to catch errors