I see the web API allows you to get the public information, but is there any way to have my friends allow my code to pull their own song histories? That way I can make a playlist out of their songs without asking them what they listened to.
No, that's not possible, because the Get Recently Played Tracks endpoint requires authorization of the user you want to get the last 50 listened to tracks of.
No, that's not possible, because the Get Recently Played Tracks endpoint requires authorization of the user you want to get the last 50 listened to tracks of.