Google YouTube Comments

$comment = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->comment();
Figure 1. YouTube Comment Methods
Method Arguments Returns Description
$comment->getList($videoId);
  1. string
array Returns a collection of videos that match the API request parameters.
$comment->getSpecific($videoId, $commentId);
  1. string
  2. string
array Returns a specific comment
$comment->addComment($videoId, $comment);
  1. string
  2. string
array Add comment to a video
$comment->replyToComment($videoId,$commentId, $comment);
  1. string
  2. string
  3. string
array Reply to a comment in a video
$comment->delete($videoId, $commentId);
  1. string
  2. string
array Delete a comment

© 2012 Openovate Labs. All rights reserved.