WWW-Myspace - Re: A few function ideas

Posted on Sat Feb 18 07:03:19 2006 by grantg in response to 1818 (See the whole thread of 2)
Re: A few function ideas

Good ideas there. I have a Dashboard module that does the same function as myspace_stats, but I think including it in WWW::Myspace would be a good idea.

Could you post each of these methods to the bug tracking system so they don't get lost? If you could post code for each (or a patch if you've modified the module itself) I can clean up anything that needs cleaning. :)

Also, I had some ideas about the mail-handling methods if you get inspired. I think the following methods should be in the WWW::Myspace module itself:


- read_message: Passed a message ID, it returns the friend_id of the sender, the subject, and body of the message.
-reply_to: Passed a message ID and a message, it replies to the message, placing the reply message at the top of the new message. Note that this method would have to actually load the message form and "click" the "Reply" button so that myspace would properly show that the message was "Replied" to.
- inbox (or "get_messages"): Returns a list of the message IDs in the inbox.
- optional methods (or modifications): A method to return a list of message IDs, and each message's sender (friendID), status (Read, Replied, Unread, Sent(?)), and possibly subject.

I should probably add this into the bug tracking system too. :) In fact, I'll do that now.

Write a response