An FLIST (short for Friend List) is a flexible and powerful method of specifying one or more facebook users to FBCMD. The term users is more accurate than friends because FLISTs can also include people who are not necessarily your friends (including yourself). In addition, some FBCMD commands also support Pages (celebrities, TV shows, applications, etc.) in FLISTS. Tip: The FRIENDS command is very useful for testing an FLIST: It will show all the users that match your FLIST (even if they aren't your friend) The following sections will show you all the ways FLISTs can be used: Exact MatchYou can always specify the full name of your friend: (it is not case sensitive) fbcmd friends "Bob Smith" fbcmd Partial MatchIf there is no exact match, then the list will include all friends who partially match: fbcmd friends "Al" will match all friends with Al in their name (Alice, Albert, Neal, Frank Small, etc.) Single MatchYou can also use Tag Matching in FLISTs, which will enforce single matches. If you use the prefix (@) it will use Tag Matching fbcmd friends @Al will only succeed if there is a single match. See Tag Matching for more details Regular ExpressionsIf you're unfamiliar with regular expressions, don't lose any sleep and skip over this section. All partial matches are also (case-insensitive) Perl regular expressions: fbcmd FRIENDS "^D" will match all friends who's name begins with D, and fbcmd FRIENDS "\sT\S*$" will match anyone who's last name begins with T, and fbcmd FRIENDS "^D.*\sT\S*$" will match all friends who's first name begins with D and last name begins with T Special KeywordsThe following special keywords can be used in FLISTs:
fbcmd FRIENDS "=me" Exact IDIf you know the exact User ID you can specify the numeric value:fbcmd FRIENDS 12345678 Multiple EntriesFLISTs can be a comma separated list of entries:fbcmd FRIENDS "Bob Smith,Al,=me,12345678" Friend ListsIf you have created friend lists within facebook (such as Family, Work, etc.) then you can match by friend list by prefixing the entry with an underscore (_) : fbcmd FRIENDS "_family" fbcmd FRIENDS "_12345678" GroupsIf you are a member of a group (or know the Group ID) then you can match all people in that group by prefixing the entry with a tilde (~) : fbcmd FRIENDS "~My Group" fbcmd FRIENDS "~12345678" UsernameIf you want to match by username, prefix the entry with an ! fbcmd FRIENDS !bobsmith PagesIf you want to match page names, prefix the entry with a + fbcmd FRIENDS "+The Onion,+Command Line" Additional Notes
|
Parameters >