예제 #1
0
 /**
  * @see CultureFeed_Pages::getNotifications()
  */
 public function getNotifications($id, $params = array())
 {
     $result = $this->oauth_client->authenticatedGetAsXml('page/' . $id . '/notifications', $params);
     try {
         $xmlElement = new CultureFeed_SimpleXMLElement($result);
     } catch (Exception $e) {
         throw new CultureFeed_ParseException($result);
     }
     return CultureFeed::parseActivities($xmlElement);
 }