How could I get the data from a youtube video? For example title.
On the internet I found several codes that when using them gave an error or were incomplete.
How could I get the data from a youtube video? For example title.
On the internet I found several codes that when using them gave an error or were incomplete.
Using the oembed Format (It does not only work for Youtube) that will return an
JSON
orXML
from there, it will return anArray
Associative with the data of thevídeo
so that later you can obtain them individually. Making use of the curl Library