Added functionality to call fb api in parallel.