How to post new stories on Digg

161 views
Skip to first unread message

Satish Pandey

unread,
Apr 14, 2012, 10:19:15 AM4/14/12
to Digg API Developers Support
Hello all,

I am new to Digg API. I read the API documentation and find 2
methods :

user.saveStory (story_id is required)
story.digg (story_id is required)

in both of the methods story_id is required.

Can anyone tell me how to generate a story_id for a new story or is it
possible to post a new story from API?

-
Satish Pandey

Dave Beckett

unread,
Apr 14, 2012, 3:26:49 PM4/14/12
to digga...@googlegroups.com


Hi. There is no API to create/submit stories to Digg at present
because it would need to be protected from spam and abuse.

You can get story IDs (also called item IDs) from API responses such
as searching and getting the current top news.

For example, if you get the URL http://services.digg.com/2.0/story.getTopNews

Command line example:
$ curl -q http://services.digg.com/2.0/story.getTopNews | grep
story_id | head -5
"story_id": "20120414083441:c988a98d-dfcf-4997-8647-9c2d0bcc254b",
"story_id": "20120413175053:d56f9d60-584d-405f-8403-f573076f1a7d",
"story_id": "20120414130313:570ff662-ee4e-4bb4-aa2a-0c3faa04c536",
"story_id": "20120414132557:15ecf342-b817-460b-b285-53fcb2392b37",
"story_id": "20120414130618:a0bc95c3-4167-458e-9908-34afc2427ab6",

Docs: http://developers.digg.com/story-gettopnews

Dave

Satish Pandey

unread,
Apr 15, 2012, 2:13:25 AM4/15/12
to digga...@googlegroups.com
Thank You Dave - I think this is the only way we can post new links to Digg.
--

Satish Pandey

Reply all
Reply to author
Forward
0 new messages