Fix FB integration bugs.