WilliamVenner / LaMetric-Spotify

🔊 Spotify app for La Metric clock
12 stars 3 forks source link

X is Displayed on Lametric #3

Open Cyril-E opened 6 years ago

Cyril-E commented 6 years ago

Hello

Thank's for your code

I think i do all steps but on my lametric i have a X (authorization ?)

My web server receive the request, but the spotify API sais no request

Do you have an idéa ?

Thank's

Cyril

WilliamVenner commented 6 years ago

[X] means that authorisation failed with the Spotify API.

pmchaumien commented 1 year ago

hello

Thanks to your code

i change on api.php curl_setopt($ch, CURLOPT_URL, "https://accounts.spotify.com/authorize/$url"); cause like Cyril I got a X

but now on my lametric i have a [X]...

here the code .... if (!isset($result["item"])) { output("[X]"); return; }

Do you have an idea ?

Thanks

PMC