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
API Changes
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
  5 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
 
Jeff Hodsdon  
View profile  
 More options Jul 27 2009, 4:12 pm
From: Jeff Hodsdon <j...@digg.com>
Date: Mon, 27 Jul 2009 13:12:46 -0700
Local: Mon, Jul 27 2009 4:12 pm
Subject: API Changes

Hey all,

We're looking to change the way Digg data is accessed and contributed  
via the API in a new version.  Our goals are to have a RESTful[1] and  
easy to understand API that gives power to the developers to create  
cool new applications.  In forth coming versions of the API, people  
will be able to not only read data, but also contribute data too.  As  
we thought about how to organize these new methods, we found the  
currently more RESTful URL structure we have may propose some issues.

There are two ideas that we have tossing around and we would like to  
get feedback from the community, or gather other ideas.  The ideas are  
as follows:

Keep the existing self descriptive url path structure for endpoints  
for contributing data (RESTful).  This would mean, for digging,  
something like this:

/story/{id}/digg

which is very similar to getting diggs for a story:

/story/{id}/diggs

A change we are thinking about is more of a method based API with a  
single URL and arguments (REST-like).

/endpoint?method=digg.get&story_id=123
/endpoint?method=digg.new&story_id=123

This method is similar to Flickr's API[3] and Facebook's[4].  The  
first method, which we currently use, is similar to Twitter's[5].

What do you guys think?

-Jeff

[1] - http://en.wikipedia.org/wiki/Representational_State_Transfer
[2] - http://en.wikipedia.org/wiki/KISS_principle
[3] - http://www.flickr.com/services/api/
[4] - http://wiki.developers.facebook.com/index.php/API
[5] - http://apiwiki.twitter.com/Twitter-API-Documentation


 
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.
goodtest  
View profile  
 More options Jul 27 2009, 8:22 pm
From: goodtest <goodtest...@gmail.com>
Date: Mon, 27 Jul 2009 17:22:27 -0700 (PDT)
Local: Mon, Jul 27 2009 8:22 pm
Subject: Re: API Changes
I have written apps for both twitter and facebook. I think its a close
call, I prefer facebook style with single-url, different params
because it feels like its more flexible than RESTful.
More importantly, I am *very* excited to see that soon we can 'digg'
from our own app. We can integrate with our social apps and it would
be excellent. Whats the expected date btw?

On Jul 27, 1:12 pm, Jeff Hodsdon <j...@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.
Bill Shupp  
View profile  
 More options Jul 27 2009, 8:28 pm
From: Bill Shupp <hostmas...@shupp.org>
Date: Mon, 27 Jul 2009 17:28:07 -0700
Local: Mon, Jul 27 2009 8:28 pm
Subject: Re: [diggapi] Re: API Changes
On Jul 27, 2009, at 5:22 PM, goodtest wrote:

> I have written apps for both twitter and facebook. I think its a close
> call, I prefer facebook style with single-url, different params
> because it feels like its more flexible than RESTful.
> More importantly, I am *very* excited to see that soon we can 'digg'
> from our own app. We can integrate with our social apps and it would
> be excellent. Whats the expected date btw?

Thanks for the feedback.  There is no official date set right now, but  
we hope to have it out soon.  We'll certainly post more details when  
they are official.

Cheers,

Bill


 
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.
Scott  
View profile  
 More options Aug 5 2009, 10:36 am
From: Scott <sc...@fitzhugh.me>
Date: Wed, 5 Aug 2009 07:36:48 -0700 (PDT)
Local: Wed, Aug 5 2009 10:36 am
Subject: Re: API Changes
Personally I think it's just a matter of apples versus bananas.
Neither seems inherently 'better' than the other; just different (and
there may be something to be said for being similar to the other
players; facebook and twitter).

I would prefer if it just stayed the same since I would prefer to not
have to rework my existing apps and risk them all failing all of a
sudden.

And if you want to be neurotic about it...  the existing structure
uses shorter calls...  less data transfer for cellphones!

I kid.  Seriously though, just keep it the same.  :)

Scott Fitzhugh
Shovel

On Jul 27, 3:12 pm, Jeff Hodsdon <j...@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.
samfind Bookmarks Bar  
View profile  
 More options Aug 5 2009, 10:31 am
From: samfind Bookmarks Bar <samf...@gmail.com>
Date: Wed, 5 Aug 2009 07:31:24 -0700 (PDT)
Local: Wed, Aug 5 2009 10:31 am
Subject: Re: API Changes
Jeff,

From the article I read (on Digg) from VentureBeat - it sounds like
you are trying to make it easier for more stories to be dugg.  That is
important to keep your information timely. So, great!

I think an important factor for Digg should be ease of developers to
use your API. If you look at twitter, they have made it very easy for
developers to make applications because they have a very easy to
follow API that gives you extensive control over twitter.  This has
allowed lots of developers to easily make creative apps, giving lots
of people different options of how to tweet. Giving twitter lots more
tweets.  I think the same goes for Digg. What ever you choose - make
it super simple for developers to meaningfully integrate no matter
what type of app they are building.

For our particular app stands outside of the website on the browser as
a Firefox add-on.  When the user clicks our Digg button, it takes the
story's URL as it is presented on the browser and submits it to Digg.
Currently it takes the user to the Digg website. But with your new
API, it would submit it directly and bump up the vote. Cool. By using
your existing system, I have noticed that some websites have a
different URL in their page based Digg button than the actual URL of
the webpage, maybe they add something like "&source=digg" to the URL
of the Digg button. This makes it so the URL that we are submitting
to, the page's actual URL does not sync up with the Digg button URL
causing sync issues on your end requiring users to go through the
hassle of determining if their story is unique.

All of this is to say, if, when a user clicks the button to Digg, you
can more accurately (than you currently do) determine whether a Digg
is from a unique page, either by:
 - scanning the text of the page to check if a digg button exists on
the page or
 - scanning the content of the page to see if it is unique despite the
URL being slightly different,
that would be helpful to users, so they don't have to manually check
if their submission is unique and helpful to developers so our buttons
do not send the users to digg different URLs than the page is sending
users to Digg.

Just a few thoughts,

Sam Deskin


 
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 »