Hillary had 1.2m more votes in the election than Trump. That's not a small number. It indicates that the problem is more related to flaws in the election process than it is to Facebook having it's finger on the scale. This is the single cause of Trump "winning" this particular election.
Again, I think a single-cause model is unhelpful for this. It's an approach used to push an argument, not to understand.
This strikes me as particularly dubious. Trump won because of some decisions made before his grandfather came here? Sure, I guess, if you want. But it's not the only way to analyze it.