I disagree - I find the stack overflow model much better than a wiki. In practice the search on SO is much better than a wiki because of how the questions are phrased. Using your how do I (x) example that is how the SO title would be phrased and that is how a developer searches for a solution.
Facebooks API docs are improving too - so this combination of quality docs and SO could be great.