Is there a way to get the songs my friends have listened to programmatically?

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.

Child Item
Child Item
Child Item

Accepted answers

All comments

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.

Child Item
Child Item