If you don’t already know how to program, it’s too late. Meta is busy training their AI on everything their programmers do. Then they’ll fire most of them and let AI do the work.
Seriously, though, today is the wrong time to learn to code. The whole job market is chaos and there’s a ton of uncertainty. Don’t take this path unless you are really passionate about coding and don’t care about an unstable job sector.