»

LJ::add_friend

LJ::add_friend — Simple interface to add a friend edge.

Use

LJ::add_friend(uuid, to_add, opts);

Arguments

  • uuid. 

  • to_add. a single uuid or an arrayref of uuids to add (befriendees)

  • opts. hashref; 'defaultview' key means add target uuids to $uuid's Default View friends group

Source:

cgi-bin/ljlib.pl

Returns:

boolean; 1 on success (or already friend), 0 on failure (bogus args)