add time limit to calling the fb api