I have looked through the documentation of the Deezer API and I am unable to fully comprehend how to add a track through their API with PHP, if you can at all. - This is lack of understanding rather than poor documentation.
I am looking for a way to add 100 tracks to a new playlist each week. I have read up on Deez's use of OAuth and the Track API object but I can not for the life me understand how to make the authentication.
In essence, what I am trying to achieve is a web based application where a user can add songs to a playlist. From what I believe, Deezer's OAuth asks a user to allow permissions, but I want my application to have full control of my playlist without having to ask people to login and grant them.
Could I please have more information on whether this is possible and without having to grant permission each time? It would not interact with any other user accounts, but my own.
- User searches for Track ID
- Form obtains Track ID via API call
- User submits and Track ID is added to playlist ID
UPDATE:
I have since figured out how to add the track using OAuth. However, for someone else to add a track after submitting using a form (step 3), they would need to login to and accept the OAuth Permissions. Is there a way I can just set it so my code always has permission to add tracks to the playlist?