-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on Hosting the API #2
Comments
It seems that you might have edited the code, could you send screenshot of index.php at line 24. |
You're using older version of PHP, please upgrade to |
Thanks, do you have an example of the config.json correct layout? |
The config.json is an auto generated cache file used to save token from spotify (they expire in an hour). You only need to set an environment variable spotify-lyrics-api/spotify.php Line 9 in 9dbb9de
|
I will add deployment part to the documentation (README) soon. That will make it lot easier for peeps who want to host it themselves. |
Thanks its generated a config.json with an accessToken but when i try to make a call with an ID or URL it says lyrics not available but they get found on your api. |
Ah thanks, I made a mistake setting up the environment variable, its all working now thank you so much!!! |
/lyrics/index.php
PHP Parse error: syntax error, unexpected ':', expecting ')' in /lyrics/index.php on line 24
The text was updated successfully, but these errors were encountered: