Facebook has agreed to invest $20m in affordable housing initiatives after facing intense criticism for failing to help low-income residents in Silicon Valley where the technology boom has exacerbated displacement and gentrification. The corporation, which is pushing forward with a massive campus expansion in northern California, announced on Friday a partnership with community organizations aimed at funding affordable housing construction and assisting tenants facing eviction.