What’s the best way to go about getting a good deal on an apartment?

Also, how do you find a roommate that’s not an ass?

I lived in Philly in 2015 near Temple. Roommates were found on facebook and mostly on drugs, never cleaned up, and didn’t pay the utilities. I’m trying to avoid that!

Any tips?