Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

http parameters for youtube add comment link

$
0
0

hi , iam trying to post a comment on a youtube Video, they said this on the API docs.

"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 <gd:feedLink> tag that appears inside the <gd:comments> tag. The actual comment that you are submitting appears as the value of the <content> 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.

POST /feeds/api/videos/VIDEO_ID/comments HTTP/1.1 Host: gdata.youtube.com Content-Type: application/atom+xml Content-Length: CONTENT_LENGTH Authorization: Bearer ACCESS_TOKEN GData-Version: 2 X-GData-Key: key=DEVELOPER_KEY

<?xml version="1.0" encoding="UTF-8"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"> <content>This is a crazy video.</content> </entry>

so , how to send this parameter with the titanium HTTP client request?

i got the ACCESS_TOKEN,DEVELOPER_KEY but i cant understand how to perform this


Viewing all articles
Browse latest Browse all 8068

Trending Articles