You supply the key in another file called index.php (which is in the same directory) at line 45, which reads as:
$_SESSION['developerKey'] = '<YOUR DEVELOPER KEY>';
On Friday, June 1, 2012 7:30:40 AM UTC+2, jennyftb9 wrote:
Hello,I'm new to the YouTube APIs and I'm trying to use it to upload videos through a web application I'm developing using Yii framework. For starters, I'm trying out the YouTubeVideoApp, which is part of the ZendFramework Demo file.I registered for a developer key at http://code.google.com/apis/youtube/dashboard and ensured that I copied the entire developer key. I pasted the developer key in the operations.php file at line 633 and replace the 'developerkey' in //$httpClient->setHeaders('X-GData-Key', 'key='. $_SESSION['developerKey']); with my own developer key. However, when I try to upload a video, it shows an error Invalid Developer Key Errror 403 after I've submitted the form details. Can someone tell what's wrong here and how to resolve the problem?Thank you.
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/LMRk5K_WWJAJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment