I am making a web app using the YT Api V3 and I need my users to input their YT channel URL. I want my PHP script to convert this URL to a channel Id (I built all my script with channel Id methods and I dont want to modify all the files).
My question is : In PHP, how can I convert a YouTube channel URL to a YouTube channel Id ?