Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
getComments questions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pete Callaway  
View profile  
 More options Jan 3 2011, 4:25 am
From: Pete Callaway <pete.calla...@gmail.com>
Date: Mon, 3 Jan 2011 01:25:32 -0800 (PST)
Local: Mon, Jan 3 2011 4:25 am
Subject: getComments questions
Hi and happy new year all.

I'm trying to re-integrate comments back into my app but have come up
against a couple of issues with the 2.0 API.

Firstly calls to story.getComments seem to return duplicate comments.
For example if 20 comments are returned for a story, there will be 10
comments repeated twice. Is this an error with the API?

Also, in the 1.0 API, you would get a list of comments with
story.getComments and replies for each would be fetched with a call to
comment.getReplies passing the comment ID. In 2.0, it looks like some
of the replies are supplied in the call to story.getComments, tied
together by a thread ID. Does that mean the comment.getReplies method
is redundant? Will all replies be returned in this call?

Cheers
Pete


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pete Callaway  
View profile  
 More options Feb 2 2011, 3:59 pm
From: Pete Callaway <pete.calla...@gmail.com>
Date: Wed, 2 Feb 2011 12:59:00 -0800 (PST)
Subject: Re: getComments questions
Hi

Is there anyone from Digg who could respond to this one? Even just to
say "it's broke"?

If it helps, an example request that shows doubled comments is
http://services.digg.com/2.0/story.getComments?story_id=2011020118502...

Cheers
Pete

On Jan 3, 9:25 am, Pete Callaway <pete.calla...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Will Larson  
View profile  
 More options Feb 2 2011, 4:03 pm
From: Will Larson <wlar...@digg.com>
Date: Wed, 2 Feb 2011 13:03:14 -0800
Local: Wed, Feb 2 2011 4:03 pm
Subject: Re: [diggapi] Re: getComments questions
That's bewildering. I'll take a look and get back to you shortly!

Thanks,
Will


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pete Callaway  
View profile  
 More options Feb 27 2011, 8:33 am
From: Pete Callaway <pete.calla...@gmail.com>
Date: Sun, 27 Feb 2011 05:33:03 -0800 (PST)
Local: Sun, Feb 27 2011 8:33 am
Subject: Re: getComments questions
Hi Will

Any thoughts on this or my other questions?

Cheers
Pete

On Feb 2, 9:03 pm, Will Larson <wlar...@digg.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Smith  
View profile  
 More options Mar 20 2011, 6:50 am
From: Smith <6663...@gmail.com>
Date: Sun, 20 Mar 2011 03:50:06 -0700 (PDT)
Local: Sun, Mar 20 2011 6:50 am
Subject: Re: getComments questions
So many days pass, but this bug wasn't fix. why?

And what the correct param to pass to the "sort" and "order"?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pete Callaway  
View profile  
 More options May 2 2011, 3:25 pm
From: Pete Callaway <pete.calla...@gmail.com>
Date: Mon, 2 May 2011 12:25:19 -0700 (PDT)
Local: Mon, May 2 2011 3:25 pm
Subject: Re: getComments questions
Hi

Any updates on the issue with getting a story's comments? While it
looks like the duplicates issue has been resolved, I can't get any
more than the first result set. Including a cursor in the request
returns an empty results set.

For example, this will get the first comments for a story:
http://services.digg.com/2.0/story.getComments?story_id=2011050216025...

If I then include the id of the last retrieved comment as a cursor
value, no comments are returned even though the story has over 200:
http://services.digg.com/2.0/story.getComments?story_id=2011050216025...

Also, to repeat an earlier question, how should the thread_id value be
used?

Cheers
Pete


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »