given the link http://bit.ly/2994js
What is the most efficient way or library to use that would get you to the final URL of a bit.ly,fb.me, etc… after the 302 redirects? Assume the scale to be 10+ million of these a day with the ability to scale across servers.
Java HttpClient?
PHP with cURL?
other?
In the case of bit.ly, there is an API call (expand) that gets the target URL from the shortened URL. Other URL shortening services may have similar API calls. In those cases, you wouldn’t have to handle the redirect.