Skip to content

Instantly share code, notes, and snippets.

@datagutt
Last active December 16, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save datagutt/5414361 to your computer and use it in GitHub Desktop.
Save datagutt/5414361 to your computer and use it in GitHub Desktop.
How to make Twitter Music fully work outside the 'supported' countries.

How to make Twitter Music fully work outside the 'supported' countries.

If the "Popular Music" part of Twitter Music is empty, it is because your country is not supported. Here is how to fix it.

The JS calls "https://music.twitter.com/app/chart/popular/*country code*/rdio/" via ajax and returns "404 NOT FOUND", it doesn't understand your country code.

But you can fix this by overriding the javascript that handles the country codes. Type this into your Developer console or type it into an userscript:

TM.PLAYER.PLAYER.getCountryCode = function(){return 'us'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment