I'm flying out to SF this weekend.
I'm staying via Airbnb. Highly recommended--lots of options and great value.
If your friend shares a place with someone, they'll be able to ask if their host can point them in the direction of a more permanent rental.