Facebook stopped returning first_name and last_name, and instead returns only a single name field. Our User model requires both first_name and last_name.
A better fix would be to remove this requirement from our User model and require only a name. But an easier fix for now is to just best effort parse the returned name into the format that we need.
Facebook stopped returning
first_name
andlast_name
, and instead returns only a singlename
field. Our User model requires bothfirst_name
andlast_name
.A better fix would be to remove this requirement from our User model and require only a
name
. But an easier fix for now is to just best effort parse the returnedname
into the format that we need.