It isn’t. Adding someone is always digging through people with the same name and searching for “that one with glasses on profile picture”. There are some codes to scan, but they are Facebook’s custom format incompatible with QR code scanners and inconvinient to use.