modified the timing of get_fb_data