Created
April 18, 2014 12:37
-
-
Save kissge/11041951 to your computer and use it in GitHub Desktop.
is_eri23 checker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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