Skip to content
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

New Mixcloud API #37

Open
adlawson opened this issue Sep 5, 2017 · 5 comments
Open

New Mixcloud API #37

adlawson opened this issue Sep 5, 2017 · 5 comments
Labels

Comments

@adlawson
Copy link
Owner

adlawson commented Sep 5, 2017

Mixcloud have changed their API up. Old references to URLs like https://www.mixcloud.com/player/details/?key=%2Ftheblackdog%2Fradio-dogma-50%2F no longer work (for those of us on the new React website. see #36).

They have implemented a new GraphQL endpoint for querying mixes, and I've spotted a /tracklist?guid=blah endpoint too, though I'm unsure at this point how helpful it'll be.

This new GraphQL API needs to be used to reenable the tracklist.

@adlawson adlawson added the Bug label Sep 5, 2017
@tvhdev
Copy link

tvhdev commented Sep 18, 2017

Hello, i get an error under CHROME Version 61.0.3163.91 (Offizieller Build) (64-Bit) as follows

mixcloud-tracklist.js:39 Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
at Object.onChange (mixcloud-tracklist.js:39)
at Object.9../browser (mixcloud-tracklist.js:2462)
at s (mixcloud-tracklist.js:1)
at e (mixcloud-tracklist.js:1)
at mixcloud-tracklist.js:1

when visiting e.g.

https://www.mixcloud.com/Solid_Steel/solid-steel-radio-show-1592017-hour-1-steffi/

Repository owner deleted a comment from christoskokock Sep 20, 2017
@hubentom
Copy link

hubentom commented Jan 4, 2018

is this not working anymore??? please advise

@christoskokock
Copy link

christoskokock commented Jan 5, 2018 via email

@markushauge
Copy link

image

Found that this is what's needed to get the GUID from the GraphQL endpoint. Without the 'a' cookie though, the field 'juno' will be null. The 'a' cookie is set on the /authentication/facebook-login endpoint (at least in my case). Don't forget CSRF either.

@w3rdan
Copy link

w3rdan commented Oct 20, 2018

Working example to get mixcloud tracklist.

https://jsbin.com/qigowogila/edit?js

Paste to console to see the tracklist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants