Changes for version 0.73 - 2007-11-13
- Updated last_login regex to be more sturdy.
- Updated get_profile to use long form of URL when passed a friend_id. This works around a myspace bug that causes a stream of "302 Found" errors when accessing certain profiles.
- WARNING: POSSIBLE BACKWARD COMPATIBILITY BREAKAGE. send_friend_request now returns "FU" (Failed, User's settings require you to enter a CAPTCHA to add them as a friend). This might break your scripts if you're checking for "FC", as some CAPTCHAs will now be "FU" instead. Be sure to check for FC and FU if you're looking for CAPTCHAs. For the record, I picked the code as "Failed, User", but since they're requiring you to enter an annoying captcha code, I think it sounds like they're really saying "FU" anyway, don't you?
- Fixed bug in get_birthdays that would cause an error stating "Can't 'last' outside a loop block" if more than 5 pages were read.
- get_birthdays now safety-exists after 10 pages instead of 5 (this exit is solely to prevent endless loops).
- Fixed get_comments, broken by myspace change.
- get_comments will now retrieve the logged-in user's comments if no friendID is passed.
- send_friend_request now retries captcha 5 times if it guesses it incorrectly, and will properly return "FC" or "FU" instead of "F" if it can't guess correctly.
- Added expire time and total attempts count ("attempt 1 of x") to captcha handling output.
- get_comments now accepts a hash of options including the new "last_comment_time" argument.
- get_comments now returns up to 100 pages (5000 comments) of comments instead of 50.
- Fixed read_message - body RE broken by myspace change.
- get_comments now returns comment_id also.
- get_comments accepts "last_comment" argument.
Documentation
Approve new friends and post a comment to them
Leave a comment for your Myspace friends
Send a message to a myspace group
Modules
Access MySpace.com profile information from Perl
Auto-comment your MySpace friends from Perl scripts
Track additions/deletions to your friends list
Auto-message your MySpace friends from Perl scripts
Base class for WWW::Myspace modules
Examples
- samples/already_commented
- samples/approve_friends
- samples/browse
- samples/check_notifications
- samples/cleanup_inbox
- samples/cool_new_people
- samples/delete_friend
- samples/delete_message
- samples/find_friend
- samples/friend_changes
- samples/friends_in_group
- samples/get_basic_info
- samples/get_birthdays
- samples/get_friend_page
- samples/get_friends
- samples/get_inbox
- samples/get_login_form
- samples/get_real_name
- samples/last_login
- samples/post_blog
- samples/post_comment
- samples/read_message
- samples/search_music
- samples/send_all
- samples/send_event_invitations
- samples/send_friend_request
- samples/send_group_invitations
- samples/send_message
- samples/set_random_photo
- samples/test_message
- samples/test_next_button
- samples/todo