Digg Block

Modified: 2008/01/26 20:00 by Andy Sterland - Categorized as: Popfly Blocks
Digg is a user driven social content website. (www.digg.com)
Image

Digg

Edit

Operations

Edit

getStories

Get recent stories.

Inputs

NameDescription
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getPopularStories

Get recent popular stories.

Inputs

NameDescription
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getUpcomingStories

Get recent upcoming stories.

Inputs

NameDescription
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getStoriesByTopic

Get stories by specific Digg topic

Inputs

NameDescription
topicName of the topic (Pre-defined Digg topic, try getTopics for list of all topics)
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getPopularStoriesByTopic

Get popular stories by specific Digg topic.

Inputs

NameDescription
topicName of the topic (Pre-defined Digg topic, try getTopics for list of all topics)
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getUpcomingStoriesByTopic

Get upcoming stroies by specific Digg topic.

Inputs

NameDescription
topicName of the topic(Pre-defined Digg topic, try getTopics for list of all topics)
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getStoryByStoryId

Get story by story ID.

Inputs

NameDescription
idGet stories by this ID, Identified story.

Outputs

Name
Story - custom object

Edit

getStoriesByUser

Get stories by user name.

Inputs

NameDescription
userNameStories submitted by a specific user.
numbermaximum number of stories to return

Outputs

Name
Story - custom object

Edit

getTopics

Get list of topics.

Inputs

NameDescription

Outputs

Name
Topic - custom object

Edit

getTopicByName

Get topic by topic name (short name)

Inputs

NameDescription
topicNameName of the topic (Pre-defined Digg topic, try getTopics for list of all topics)

Outputs

Name
Topic - custom object

Edit

getUsers

Get information of all users

Inputs

NameDescription
numbermaximum number of users to return

Outputs

Name
User - custom object

Edit

getUser

Get information of a specific user

Inputs

NameDescription
userNameNamed user

Outputs

Name
User - custom object

Edit

getUserFriends

Gets all friends of the user

Inputs

NameDescription
userNameNamed user
numbermaximum number of friends to return

Outputs

Name
User - custom object

Edit

getUserFans

Gets all fans of the user

Inputs

NameDescription
userNameNamed user
numbermaximum number of fans to return

Outputs

Name
User - custom object


Edit

Objects

Details about type definitions can be found on the Block Metadata Type System page. Edit

User

NameType
nameuserName
thumbnailthumbnailImageUrl
registereddate
profileViewsstring
Edit

Topic

NameType
topicstring
topicShortNamestring
containerstring
containerShortNamestring
Edit

Story

NameType
titletitle
descriptiondescription
useruserName
userThumbnailthumbnailImageUrl
topicstring
storyIDid
linkurl
submitDatedate
diggsnonNegativeInteger
commentsstring
hrefurl
statusstring

Privacy. Terms of Use. Trademarks.
ScrewTurn Wiki version 2.0.22. Some of the icons created by FamFamFam.