Support » Plugin: Last.Fm Records » Https for call to audioscrobbler, and api key

  • Resolved sunpig

    (@sunpig)


    Would you consider changing the LASTFM_WS_URL to use HTTPS instead of HTTP? It shouldn’t have any impact on pages served over HTTP, but it will prevent content security warnings on blogs served securely.

    Also, should the plugin allow you to enter your own API key instead of using a hard-coded value?

    Best regards,

    -Martin.

    https://wordpress.org/plugins/lastfm-records/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jeroensmeets

    (@jeroensmeets)

    Hi Martin,

    Great feedback, thanks! Sounds like a good plan to change to https, or would you prefer to have the option?

    I have contacted last.fm many years ago about the API key, and they said using the one in a WordPresss plugin is ok, don’t know what the policy is at the moment. For people using the js file outside of the plugin, I have added the request to change the API key.

    — Jeroen

    Hi Jeroen,

    I’d be inclined to change it to HTTPS completely. There are few circumstances where someone would deliberately *want* to retrieve the JSON from an HTTP endpoint instead of an HTTPS one. If Last.fm fail to renew their SSL certificates, that might cause warnings, but other than that it should be safe and standard.

    As for API keys – I’m used to services that require per-user API keys for purposes of rate-limiting and caching. If Last.fm are happy with a generic API key for everyone using this plugin, that makes it easier for users who don’t want to go to the trouble of requesting their own Last.fm API account.

    Cheers,

    -Martin.

    Plugin Author jeroensmeets

    (@jeroensmeets)

    Hi Martin,

    both suggestions are now available in version 1.7.7. Thanks for the help!

    Greetings,

    — Jeroen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Https for call to audioscrobbler, and api key’ is closed to new replies.