I have a good friend who was network ops for Riot Games some years back. He is a German who is in America on an H1-B visa. He and I spoke openly about his salary once, which was $97,500. I know Felix is great at his job... but given the experience and knowledge he had, along with the insane responsibilities he was tasked with, I wouldn't have done it for less than $125,000.
No, they're not. Facebook employees have very thoroughly reverse-engineered the compensation bands in internal groups. We know for a fact that it makes no difference whether one is on a visa.
Indeed, H1B holders might have less negotiation leverage. That’s a real problem but not really what we’re discussing.
FANG hires anyone who can pass their hiring bar, regardless of their background, and there is always a shortage of applicants passing that hiring bar.
1. Evaluate resumes and interview candidates, both US and foreign, practically without taking into account national origin and visa status (With the possible exception of national bans / not eligible for visa due to past deportation, etc).
2. Once decision is made, let the immigration department figure out a legal way to get the person hired a visa (through H1B, internal transfer, whatever).
3. If the H1B process prescribes advertising the position to US applicants, that will be done, but the decision for that particular job has really already been made (then again, big companies are constantly hiring, so maybe US applicants get considered for other suitable jobs).
So while I don't think these companies, in general, are trying to get cheap labor, or discriminating against US applicants, some of the provisions of the law (giving strict priority to US applicants) are only being followed in a ceremonial way, and, giving the fluid nature of job characterizations in the industry, are probably near-impossible to follow in a realistic way.
Some companies do care about costs. FB cares more about the second part.
And knowing that someone is getting $500k is an outlier given that more senior engineers would likely not be on H1-B at that point in their career because they’d have a green card by then. So your anecdote doesn’t apply to the majority of cases I’m talking about which is at entry or mid level.
Here is Facebook:
https://h1bdata.info/index.php?em=Facebook+Inc&job=&city=&ye...