LJ::get_friend_items

LJ::get_friend_items — Return friend items for a given user, filter, and period.

Use

LJ::get_friend_items(opts);

Arguments

  • opts. Hashref of options: - userid - remoteid - itemshow - skip - filter (opt) defaults to all - friends (opt) friends rows loaded via LJ::get_friends - friends_u (opt) u objects of all friends loaded - idsbycluster (opt) hashref to set clusterid key to [ [ journalid, itemid ]+ ] - dateformat: either "S2" for S2 code, or anything else for S1 - common_filter: set true if this is the default view - friendsoffriends: load friends of friends, not just friends - u: hashref of journal loading friends of - showtypes: /[PICNY]/

Source:

cgi-bin/ljlib.pl

Returns:

Array of item hashrefs containing the same elements