I have tried following the spotify authorization code flow, and have fallen at the first hurdle of getting user authorization.
I have tried doing this using PHP curl.