Wouldn't they just ... spend more than $500 per month ... to not sleep in a hallway? OP was interviewing for Meta, they should be able to afford rather more than $500 per month.
Meta salaries are not really competitive, frankly. In Canada at least. A small 350 sqft 1 bedroom in Toronto is very expensive given the salary of junior positions.
Housing supply is incredibly low and fiercely competitive, some people I've personally spoken to literally had no other choice but to "rent a hallway".