Skip to content

Instantly share code, notes, and snippets.

@kissge
Created April 18, 2014 12:37
Show Gist options
  • Save kissge/11041951 to your computer and use it in GitHub Desktop.
Save kissge/11041951 to your computer and use it in GitHub Desktop.
is_eri23 checker
var request = require("request");
var url = 'https://twitter.com/users/username_available?context=signup&username=is_eri23';
request({ url: url, json: true },
function (error, response, body)
{
if (!error && response.statusCode === 200 && body.valid)
console.log('is_eri23 available!');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment