digitalheir / lastfm-to-librefm-exporter

🎶 Easily export your tracks from Last.fm and import them to Libre.fm or Scrobble.fm
https://digitalheir.github.io/lastfm-to-librefm-exporter/
GNU General Public License v3.0
22 stars 0 forks source link

Requesting an API key from libre.fm results in 404 #3

Open db0 opened 3 years ago

db0 commented 3 years ago

It seems to want to take you to this link: https://libre.fm/api/account/create but this doesn't seem to be working.

Some googling returns results such as this: https://libre.fm/api/auth/?api_key=$LAST_KEY&cb=pscrobble://auth/librefm which seem to be maybe the current way to do it?

donalhunt commented 3 years ago

Any idea how to get a session key once you've got a token?

ghost commented 3 years ago

Hi, I think I got working by using this url and changing $LAST_KEY by the default API key and the callback was the page for the project. 14:30:02-02-06-2021-screenshot

Like so: https://libre.fm/api/auth/?api_key=r9i1y91hz71tcx7vyrp9hk1alhqp1888&cb=https://digitalheir.github.io/lastfm-to-librefm-exporter/

Then, to generate a token it will ask to log in libre.fm and then to get the session key you will need to open developer option in the browser and search for session id.

14:19:30-02-06-2021-screenshot

But I'm still fetching my scrobbles tho, it will take some time to finish.

pbaesse commented 2 years ago

Your @bashl workaround was almost working. But now I'm getting "Runtime nodejs6 is no longer available. Please redeploy your function to a newer version." in every page it loads to scrobble. Probably it just has to update the node version.

bulletproof2k commented 1 year ago

190925469-3530ad8d-2eed-472e-be74-c9007bdf2854

widardd commented 1 year ago

Doesn't work

paulo-roger commented 1 year ago

How you handled the session key part?