1MESSAGE_GROUP(1) User Contributed Perl Documentation MESSAGE_GROUP(1)
2
3
4
6 message_group - Send a message to a myspace group
7
9 Version 0.7
10
12 message_group config_file
13
14 Where config_file is a YAML file containing account and message info.
15 Note that this should be readable only by you (i.e. chmod 600
16 config_file).
17
18 This script is a command-line front end for the WWW::Myspace::Message
19 module that lets you message all the members of a specific MySpace
20 group. This is handy if, say, your band sounds like another band and
21 you want to send a message to the members of that group saying that
22 they might like your music because they like that band.
23
24 Sample config file:
25
26 ---
27 account: myaccount@myspace.com
28 password: mypassword
29 subject: Hi there!
30 cache_file: /path/to/mycache
31 message: |
32 This is a message.
33 It is, and must be, indented by two spaces.
34
35 - Me
36 group: 1255555
37
38 # You can also do this to specify multiple groups (notice the indent again):
39 group:
40 - 1255555
41 - 1244444
42 - 1345553
43
44 This script will read the config file and start messaging. If it hits
45 the max_count value or a CAPTCHA response, it will sleep for 24 hours,
46 then continue. If the script is stopped or interrupted, re-run it using
47 the same config file and it will pick up where it left off. The script
48 invokes the send_all method in WWW::Myspace::Message. Use perldoc
49 WWW::Myspace::Message to read the docs on that module.
50
51 Note: To run this as a cron job, set delay_time to 0 in the config
52 file. This will make it exit instead of pausing when it hits max_count
53 or CAPTCHA. This is good because it'll re-read the friends list on the
54 next run, so it'll pick up any changes.
55
56 delay_time: 0
57
58 Be careful when specifying multiple groups. The script will read all
59 the friends from all the groups each time it's run. Since you're only
60 going to message about 300 per day, that can be a big waste of
61 resources. Try to do one group at a time.
62
64 Please report any bugs or feature requests, or send any patches, to
65 "bug-www-myspace at rt.cpan.org", or through the web interface at
66 http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Myspace
67 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Myspace>. I will
68 be notified, and then you'll automatically be notified of progress on
69 your bug as I make changes.
70
71 IF YOU USE A MAIL SERVICE (or program) WITH JUNK MAIL FILTERING,
72 especially HOTMAIL or YAHOO, add the bug reporting email address above
73 to your address book so that you can receive status updates.
74
75 Bug reports are nice, patches are nicer.
76
78 You can find documentation for this module with the perldoc command.
79
80 perldoc message_group
81
82 You can also look for information at:
83
84 · AnnoCPAN: Annotated CPAN documentation
85
86 http://annocpan.org/dist/WWW-Myspace <http://annocpan.org/dist/WWW-
87 Myspace>
88
89 · CPAN Ratings
90
91 http://cpanratings.perl.org/d/WWW-Myspace
92 <http://cpanratings.perl.org/d/WWW-Myspace>
93
94 · RT: CPAN's request tracker
95
96 http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Myspace
97 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Myspace>
98
99 · Search CPAN
100
101 http://search.cpan.org/dist/WWW-Myspace
102 <http://search.cpan.org/dist/WWW-Myspace>
103
105 Copyright 2005-2006 Grant Grueninger, all rights reserved.
106
107 This program is free software; you can redistribute it and/or modify it
108 under the same terms as Perl itself.
109
110
111
112perl v5.12.0 2006-06-21 MESSAGE_GROUP(1)