Documentation home page

CFlickr.activity
Component ActivityInterface

AbstractInterface
  |
  +--activity.ActivityInterface

Method Summary
public any userComments([numeric per_page], [numeric page])
Returns a list of recent activity on photos commented on by the calling user. Do not poll this method more than once an hour.
public any userPhotos([string timeframe], [numeric per_page], [numeric page])
Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour.

Methods inherited from AbstractInterface
init
 

Method Detail

userComments

public any userComments([numeric per_page], [numeric page])
Returns a list of recent activity on photos commented on by the calling user. Do not poll this method more than once an hour.

Parameters:
numeric per_page (Optional) - Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.
numeric page (Optional) - The page of results to return. If this argument is omitted, it defaults to 1.

userPhotos

public any userPhotos([string timeframe], [numeric per_page], [numeric page])
Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour.

Parameters:
string timeframe (Optional) - The timeframe in which to return updates for. This can be specified in days ('2d') or hours ('4h'). The default behavoir is to return changes since the beginning of the previous user session.
numeric per_page (Optional) - Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.
numeric page (Optional) - The page of results to return. If this argument is omitted, it defaults to 1.