Source for file v2_0_user_getMyNews.php
Documentation is available at v2_0_user_getMyNews.php
require_once 'config.php';
require_once 'HTTP/OAuth/Consumer.php';
require_once 'Services/Digg2.php';
$hoc = new HTTP_OAuth_Consumer (
$result = $sd->user ->getMyNews ();
foreach ($result->stories as $story) {
echo " Story: {$story->title }\n";
foreach ($story->activity as $activity) {
echo " \tFriend: {$activity->user ->username } dugg/commented\n";
Documentation generated on Mon, 11 Mar 2019 15:39:21 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|