Move fb code in scanning success process