Changes for version 0.69 - 2007-07-07
- Added get_real_name sample script
- Updated Known Issues in Myspace.pm docs to mention that location must be United States or other location that uses English with month/day/year dates.
- Added CAPTCHA Killer patch and updated coding and placement. Currently only handles captcha for send_friend_request.
- last_login now sets $myspace->error if it gets an error while parsing the date.
- Fixed friend_id test in 01-login to check for friendID passed in a URL as the test comments state.
- Added is_comedy method.
- get_basic_info now returns undef if it can't match its main regex on the profile page (as will happen on band pages).
- get_real_name now only checks from the top of the profile to the "top friends" section to avoid conflicts in the friend names and comments.
- get_real_name now properly returns the capitalized name.
- is_private now deals with private profiles which don't appear to have any content
- updated friend_id regex to return friend_id on private profiles
- Added find_friend method which takes an email address and returns any matching friendIDs.
- Added find_friend sample script in sample_scripts
- Added 19-find_friend.t test.
- updated get_friends to correctly handle profiles wit no friends at all (not even Tom)
- find_friend now returns friends as a list even if there is only one.
- added get_profile_type to for an easy check on type of profile
- added tests for get_profile_type in t/01-login.t
- fixed get_basic_info (also for band profiles!) and related tests in t/17-get_basic_info.t
- fixed comment_count to detect profiles without any comments (eg 76772500), also updated test t/15-profile_views.t
- Cleaned up code in captcha handling methods.
- Changed temporary file used by _handle_captcha to $self->cache_dir/captcha$$.
- Added (untested) captcha handling to post_comment
- Removed obsolete "_get_friends" method.
- send_friend_request method now returns "FE" status if "user has exceeded daily useage" message is encountered (their spelling error, not mine :)
- added "sleep 2" in captcha handling to improve chances of positive match.
- is_private now returns 0 rather than undef if the profile does not appear to be private
- post_comment now properly returns status code and description in all cases.
- send_message now properly returns status code and description in all cases.
- Added get_birthdays method.
- Added get_birthdays test to 01-login.t
- fixed get_comments so that it won't break if a comment contains a form of its own (e.g. page 4 on 18087140)
- Applied patch to fix delete_message (Thanks Steven!) from RT issue#28561.
- Re-enabled delete_message tests.
- Renamed "inbox" to "get_inbox", added "inbox" convenience method for backwards-compatibility.
- Removed outdated comments in code before get_friends method.
- Disabled delete_message test - still failing.
- Added warning message to delete_message but kept method operational.
- Fixed bug in friend_request that would cause it to always return FN if there was no form on the page, instead of returning the proper status code.
- Moved "captcha_result" initialization closer to top of send_friend_request method.
- Fixed a bug where a public, pimped profile with no friends was returning as "private".
- Fixed friend_url regex and moved it to the _apply_regex method.
- Added "captcha_tries" accessor method to allow user to change number of attempts at retrieving the captcha from captchakiller.com
- Fixed RE for New Photo Comments indicator in get_notifications (Myspace changed from "New Image Comments!" to "New Photo Comments!").
- If there are new image comments, get_notifications now reports "New Photo Comments!" instead of "New Image Comments!" to match myspace's output. Be aware of that if your script is interpreting that output instead of just displaying it.
- Added captcha_tries to list of allowed options.
- Fixed get_real_name test.
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