invoke facebook api request in main thread