mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[GH-ISSUE #90] Follow playlist example #47
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Pau1fitz on GitHub (Jun 12, 2017).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/90
Hi @vdesabou and @jwilsson. Apologies for the basic question. I am more of a javascript person and have used the spotify api with node before, however for this project I need to use php.
I am trying to follow a user playlist but for some reason it isn't working. If it is something really basic apologies in advance.
My code looks like this.
step1.phpMy
step2.phpfile looks like this@jwilsson commented on GitHub (Jun 12, 2017):
Hi again!
When I'm running your code I'm getting a "Playlist doesn't exist" error back from the API. Whenever an error is returned from the API this library will throw.
Try adding this to all your API calls so you'll be able to see any errors returned:
Hope this helps!
@Pau1fitz commented on GitHub (Jun 12, 2017):
@jwilsson I see that I the id needs to be the owner of the playlists id.
@jwilsson commented on GitHub (Jun 12, 2017):
I'm taking that as it's working now? If not, just give me a shout!