Top | ![]() |
![]() |
![]() |
![]() |
flickcurl_activity ** flickcurl_activity_userComments (flickcurl *fc
,int per_page
,int page
);
Returns a list of recent activity on photos commented on by the calling user.
Implements flickr.activity.userComments (1.0)
flickcurl_activity ** flickcurl_activity_userPhotos (flickcurl *fc
,const char *timeframe
,int per_page
,int page
);
Returns a list of recent activity on photos belonging to the calling user. Do not poll this method more than once an hour.
Implements flickr.activity.userPhotos (1.0)
fc |
flickcurl context |
|
timeframe |
The timeframe in which to return updates for. This can be specified in days ( |
|
per_page |
Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50. (or NULL) |
|
page |
The page of results to return. If this argument is omitted, it defaults to 1. (or NULL) |
void
flickcurl_free_activities (flickcurl_activity **activities_object
);
Destructor for array of activity objects
typedef struct { char *type; /* photoset or photo */ char *owner; char *owner_name; char *primary; /* photo info: ID/secret/server/farm */ char *id; char *secret; int server; int farm; /* counts */ int comments_old; int comments_new; int notes_old; int notes_new; int views; int comments; int photos; int faves; /* flags */ int more; char* title; /* Array of events on this item */ flickcurl_activity_event* events[FLICKCURL_MAX_ACTIVITY_EVENTS+1]; } flickcurl_activity;
Comments or photos item with activity
activity type photoset or photo |
||
owner NSID |
||
owner name |
||
primary |
||
photo id |
||
photo secret |
||
photo server |
||
photo farm |
||
old comments count |
||
new comments count |
||
old notes count |
||
new notes count |
||
views count |
||
comments count |
||
photos count |
||
favourites count |
||
more boolean flag |
||
title of acitivty |
||
flickcurl_activity_event * |
array of events associated with this actiivty |