Google YouTube Subscriptions

$subscription = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->subscription();
Figure 1. YouTube Subscription Methods
Method Arguments Returns Description
$subscription->getList($userId = self::DEFAULT_VALUE);
  1. string
array Returns all user subscription
$subscription->getNewSubscription($userId = self::DEFAULT_VALUE);
  1. string
array Returns new user subscription
$subscription->subscribeToChannel($channel, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Subscribe to a channel
$subscription->subscribeToUser($user, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Subscribe to a users activity
$subscription->unsubscribe($subscriptionId, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Subscribe to a users activity

© 2012 Openovate Labs. All rights reserved.