Posts Tagged ‘syndicate’

Digg API: Grabbing a Random Digg Story with PHP

Saturday, February 16th, 2008

I read about the Digg API the other day, and I thought it was about time I played around with it.

There is a ton of cool stuff you can do with this. Basically, you send a request to the Digg server and it sends back whatever kind of information you want – category names, recent diggs, recent stories, archived stories, etc. You can read through the API to see everything you can do.

For now, we’ll focus on one nifty little trick – grabbing a random story from a given topic.
(more…)