2nd: Submitting resumes goes nowhere. You need referrals. Ask for them shamelessly. You don't need to know the referee. That will at least get your resume looked at. This is their game, so play it.
3rd: have an idea of the timeline to an offer for various companies. Do your Google/Facebook interviews early, more nimble companies later. Start the whole thing off with some practice interviews at companies you don't like. The goal is to have multiple offers in play at the same time.
4th: Don't tell recruiters about your other offers until it's too late and they've decided that they want you. Only tell them about offers that they might compete against (usually their direct competitors), 2 others max. If you'd work at company A for $80 b/c they have a cool product, but would need $100 to work at company B b/c they suck, when you tell company B about your offer at company A, fudge that company's numbers upward. Otherwise, you'll get an offer for $81 from company B and turn them down.
Then I attended a seminar - the question was asked who used agencies and who used their "network" for new jobs / freelance work.
I was the only hand up to go used agencies and the traditional job hunt.
So it's the old saw - keep a profile up - blog, project, podcast whatever, so you can use that as an excuse to stay in touch with ex-colleagues so that they might think of you when they are hiring in 3 years.
As I said not a lesson I have learned but people who earn more than me recommend it
Log on once a week and like posts by other folks (job posts, interesting articles, whatever). Send a congrats message as suggested by LI when someone starts a new job. Send someone a job that seems like it might be of interest to them when you see it. Post something you wrote/built/read about.
The goal is to keep in touch so that when you are ready to start looking, you aren't starting from ground zero.
Lather, rinse, repeat for each offer. The better offer may be salary, perks, or just better work conditions. I once left a company after working there for 9 days because I got an offer working with my friend. I didn't even get a better salary and my friend ended up leaving after 3 months..
I need help on getting to the salary negotiation part with multiple companies at the same time though.
This is the instruction booklet for landing a lunar lander on the Moon. I need the one for the Saturn V.