1APPROVE_FRIENDS(1)    User Contributed Perl Documentation   APPROVE_FRIENDS(1)
2
3
4

NAME

6       approve_friends - Approve new friends and post a comment to them
7

VERSION

9       Version 0.09
10

SYNOPSIS

12       approve_friends [-m message] [-y] [-u username -p password] [-nc]
13           [-f filename] [-c cache_file] [-gc message ]
14
15       approve_friends [-f filename.yaml]
16
17       The first form of the command specifies arguments on the command line.
18       If the -f flag is used, the username, password, and message will be
19       read from the file. The username on the first line, password on the
20       second, and message on the remaining lines.
21
22        -nc: no comment. Just approve friend requests, don't leave comments.
23        -c cache_file: Use "cache_file" as the file to store info about who
24               we've commented.
25        -gc message: If we approve less than 50 friends, post "message" as a
26               comment to any friends we have that don't already have a comment on
27               their page. See the example below for how this is useful.
28
29       The second form of the command takes a YAML configuration file. Any
30       other command-line arguments will be ignored.
31
32       Note that the ability to specify the cache file lets you set a
33       different file if you have multiple accounts. If you use the same
34       cache_file as you do for the "comment" script (and you should), both
35       scripts will avoid posting to users you've already commented with
36       either script. This allows you to run them concurrently.
37
38       EXAMPLES
39
40        # Approve and leave a comment for new friends. Since we can comment 50
41        # people a day, if we've approved/commented less than 50, go through the
42        # rest of our friends list and leave a comment for as many as we can.
43        # This will leave "Thanks for adding me!" as a comment for new friends,
44        # and "Just stopping by to say hello!" as a comment for existing friends.
45        # Remember, Comment.pm will automatically skip profiles you've already
46        # commented or are on the top 8 of.
47        # Stops at 50 total posts.
48        approve_friends -m "Thanks for adding me\!" \
49            -gc "Just stopping by to say hello\!"
50
51        Sample YAML config file:
52
53        ---
54        username: myaccount@myspace.com
55        password: ILikePasswords
56        message: |
57          This is a message.
58
59          It is a few lines long
60
61          - Me
62        silent: 1  # Or 0 (default)
63        no_comment: 1  # Or 0 (default)
64        cache_file: /home/joe/approve_cache
65
66
67
68perl v5.12.0                      2006-06-01                APPROVE_FRIENDS(1)
Impressum