How can I programmatically add comments to a YouTube video from an iPhone app? I’ve searched Google and gone through the YouTube Api but haven’t found any help.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Adding comment using Youtube API
Adding a comment in response to a video
To add a comment to a video, send a POST request to the URL identified in the tag that appears inside the tag. The actual comment that you are submitting appears as the value of the tag in the XML that constitutes the body of the POST request.
The sample XML API request below demonstrates how to add a comment to a video.
construct that xml and send via POST. Get Developer_key, get the VIDEO_ID of the youtube video.
Using a developer key:
A developer key uniquely identifies a product that is submitting an API request. Please visit http://code.google.com/apis/youtube/dashboard/ to obtain a developer key.
VideoID – The YouTube video ID that uniquely identifies the video.
I think videoid for a youtube video http://www.youtube.com/watch?v=NWHfY_lvKIQ is NWHfY_lvKIQ