Is there any kind of library for PHP which can decode tinyurl, Goo.gl, bit.ly and other url shortened urls without making CURL requests?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With URL shortening the hashes created have no relevancy to the URL being shortened but mealy a simple elegant internal database identifier.
The only way to retrieve the URL location is to ask the link shortening site to process the request and then catch the response data, the only way to do that is with networking to that site.
Unless the hash for the location is a reversible hash of long URL, there is no other way to do it.