flickr.activity.userPhotos

Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour.

Authentication

This method requires authentication with 'read' permission.

Arguments

api_key (Required)
Your API application key. See here for more details.
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.
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.
page (Optional)
The page of results to return. If this argument is omitted, it defaults to 1.

Example Response

<items>
  <item type="photoset" id="395" owner="12037949754@N01" primary="6521" secret="5a3cc65d72" server="2" commentsold="1" commentsnew="1" views="33" photos="7" more="0">
    <title>A set of photos</title>
    <activity>
      <event type="comment" user="12037949754@N01" username="Bees" dateadded="1144086424">yay</event>
    </activity>
  </item>
  <item type="photo" id="10289" owner="12037949754@N01" secret="34da0d3891" server="2" commentsold="1" commentsnew="1" notesold="0" notesnew="1" views="47" faves="0" more="0">
    <title>A photo</title>
    <activity>
      <event type="comment" user="12037949754@N01" username="Bees" dateadded="1133806604">test</event>
      <event type="note" user="12037949754@N01" username="Bees" dateadded="1118785229">nice</event>
    </activity>
  </item>
</items>

Error Codes

96: Invalid signature
The passed signature was invalid.
97: Missing signature
The call required signing but no signature was sent.
98: Login failed / Invalid auth token
The login details or auth token passed were invalid.
99: User not logged in / Insufficient permissions
The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
100: Invalid API Key
The API key passed was not valid or has expired.
105: Service currently unavailable
The requested service is temporarily unavailable.
106: Write operation failed
The requested operation failed due to a temporary issue.
111: Format "xxx" not found
The requested response format was not found.
112: Method "xxx" not found
The requested method was not found.
114: Invalid SOAP envelope
The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
116: Bad URL found
One or more arguments contained a URL that has been used for abuse on Flickr.

API Explorer

API Explorer : flickr.activity.userPhotos