|-m message||Post message to the friends page (beware shell escapes!)|
Read the account, password, and message from filename. The file
must contain the username on the first line, the password on the
second line, and the message starting on the third line, like this:
The above will set username to email@example.com, the password to ILike2havelongpasswords, and the message to:
All characters are safe when passing comments this way, and you can also pass HTML in the message. Note that myspace does allow users to strip HTML from comments, so make sure your stripped message is still readable.
|-y||Yes mode: Dont ask for confirmation, just do it. (careful!!!) This is for cron jobs, but normally you should use the confirmation to make sure the shell hasnt munged your message and that the friend count and exclusion count look ok before you go send stuff you didnt want to people you didnt want to...|
|-d||Inserts a random delay before running. Do this is youre running the script from crontab to make it look more like a human.|
|-i||Ignore Duplicates. If the -i flag is passed, comment_myspace will not check the profile page for duplciate comments, it will just post.|
Reset the exclusions file. comment_myspace remembers who it has commented
before and wont comment them again. Using the -r flag resets this list
(maybe I should call it -f for forget? :)
Use this if you want to post a new comment to people and you dont
care if youve commented them before. Note that unless you
use the -i flag also, comment_myspace will still skip profiles on which
it sees your profile link already.
The reset is done -before- commenting begins.
|-n max_count||Only post max_count comments. This defaults to 50 in WWW::Myspace::Comment as of this writing. Setting a value here will pass it to the WWW::Myspace::Comment object. This is mostly useful for posting fewer than 50 comments at a time, since Myspace wont let you post more than that without giving you a CAPTCHA.|
|-u username||Use username as the username when logging in|
|-p password||Use this password to log in (must be provided if -u is used|
|friendID||Post to this (or these) friendIDs only|
|-c cache_file||Use cache_file as the file to store/read the list of friends weve commented. As comments are left, the status of the post will be written to this file. If you dont provide this, the default cache_file will be used. See WWW::Myspace::Comment for details.|
Post to only two friends (will prompt for username and password): comment -m Merry Christmas\!\!\! 370234 275034 Post "Happy New Year!!!" to all our friends (will prompt for username and password): comment -m Happy New Year\!\!\! Post to all Joes friends using "firstname.lastname@example.org"s account: comment -m Just saying hi -u email@example.com -p FooBar92
CAPTCHA: MySpace.com allows 53 or 55 posts before requiring a CATCHA response, then allows 3 before requiring it agian. Not sure what the timeout is on this (12 hours?).
Note that the evolving point of leaving comments is to make sure that were linked to from as many pages as possible, and mentioned on as many pages as possible. We want to appear to be everywhere. Since we can only post to about 50 pages a day, we maximize our exposure by checking each page were going to post on to see if were already there and skipping it if we are.
- Provide a CGI interface so band members can coordinate and type in the CAPTCHA code. Interface would act as a relay: for each person wed auto-post to, display the filled in comment form and have them customize it and/or fill in the captcha code. Could run in semi-automatic mode where itd only display the page for them if it got a code request.
|perl v5.20.3||COMMENT_MYSPACE (1)||2008-06-19|