iPhone X is not the first device which supports Face Detection Technology. But as Apple said “This is the first mobile device which can not be hacked with just a photo”.
Now, Facebook is also working on its own Face Recognition system which does not means to be a Face DI system. This Face ID system can be used to recover your facebook account easily with Face ID system, but yes to make it working you must have a Face ID device with camera and Face Detection sensors.
Which means to use Face ID you must have iPhone X (As till day).