How to get info from URL?

So I’m working on an app that as some part of the functions I want the users to submit YouTube links. When they do that I want to get these data from the link

  • Video title
  • YouTube favicon
  • Video length

So I want to do the same for other links and resources in the future, but I’m gonna start with only YouTube. Is there a way? is there a standard process I should be learning so I can apply it in the future?

Here is Link to a youtube video:

Please let me know if you see anything in the URL that indicates the Title, Favicon or the Length of the video.

@jared.gibb please drop a poop emoji reply to round this thread out.

1 Like

:rofl: :poop:


You would have to use YouTube’s data api, extract the video id from the URL and then grab that info from their API.