Code Monkey home page Code Monkey logo

Comments (9)

SimplyKitter avatar SimplyKitter commented on June 28, 2024 1

I guess.. Thanks again though!

from tekore.

felix-hilden avatar felix-hilden commented on June 28, 2024 1

Alright I had a go at it and it looks promising. There's some hoops to go through since this is a new type of URL, but I think we can add it directly to the client which is way more usable. Unfortunately my weekend is busy, but I'll let post any updates on this issue 👍

from tekore.

SimplyKitter avatar SimplyKitter commented on June 28, 2024 1

I will test it later today, will let you know!

from tekore.

felix-hilden avatar felix-hilden commented on June 28, 2024

Oh! Thanks for letting me know! Contributions are welcome but if not, I'll try to get it done within a few days 👍

from tekore.

felix-hilden avatar felix-hilden commented on June 28, 2024

Okay, so unfortunately as you said, the IDs are random so we can't decide what it contains. I'll provide a function like is_spotify_url and possibly a HTTP call to try to resolve the redirect. But these might need to wait since Spotify doesn't have any docs about this ☚ī¸

from tekore.

SimplyKitter avatar SimplyKitter commented on June 28, 2024

Oo, alrighty. Thanks for taking your time into this!!

from tekore.

SimplyKitter avatar SimplyKitter commented on June 28, 2024

I just found a workaround for this which works, uses requests to get the final open.spotify.com/ url

https://community.spotify.com/t5/Spotify-for-Developers/Give-us-an-endpoint-to-decode-new-shortened-share-links/m-p/5637302/highlight/true#M10762

from tekore.

felix-hilden avatar felix-hilden commented on June 28, 2024

Yep that seems like only thing we can do for now 😅 I'll see what a reasonable implementation could look like

from tekore.

felix-hilden avatar felix-hilden commented on June 28, 2024

Hi! I've got a PR up now, which I'd really appreciate comments on. Does it seem usable for what you had in mind for whatever app you intended to write?

from tekore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.