I know Youtube has a Developer Forum, but I came here out of habit. Hope someone whose familiar with the Youtube API can assist me. Problem: I believe I'm hitting the Youtube API call limit across my network of websites. I need to know how to print or echo using PHP the error message the Youtube API is returning. Thanks in advance.
well youtube api will return an http response as well as an xml response whenever you hit the api call limit, you can just check the http response to see if you have reach the call limit and then parse the xml that it return
Yes, that is exactly what I need to do, but I haven't been able to figure out how to do it. I need a sample code. Then, I could do it. I'm stuck, but that is exactly what I want to do. Would you post a code sample?
If the parsing of the XML response fails to deliver the video details means its an error , log that request.
Thanks for the insight. I will work with trying to log the request for I can tell what is happening. If anyone who like to share a snippet of code, it is appreciated. Thanks.