Open
Description
I am getting a 429 error (rate limit) from ipinfo.io.
Adding the ipinfo.io token (free account) will grant 1000 free API calls per day.
not sure if the implementation below would work...
$field.intlTelInput({
initialCountry: "auto",
geoIpLookup: function(callback) {
$.get('//ipinfo.io?token=xxxxxxxxxx', function() {}, "jsonp").always(function(resp) {
var countryCode = (resp && resp.country) ? resp.country : "";
callback(countryCode);
});
}
});
Metadata
Metadata
Assignees
Labels
No labels