I've been tinkering around with the Miranda API and decided to write a protocol plugin to communicate with Twitter. I've got the (very) basics working: getting friends' current statuses and adding/removing friends. However, there are a lot of things that I'm not entirely sure about, and would like some input on. Here goes:
- How would you like to post status updates? Online/away messages seem conceptually similar, but you probably wouldn't want to update your Twitter every time you go away on AIM.
- There are two ways to talk to another Twitter user: by typing "@myfriend blah" in your status update and by using direct messages. How would you like to see these incorporated into messaging in Miranda?
- As I understand it, to delete a server-side contact, you hook ME_DB_CONTACT_DELETED and do the deletion in the event function. However, this gets called on all contacts when you remove a protocol from Miranda, and you wouldn't want to delete your friends in that case. How do other protocols handle this?
If people are actually interested in this, I'll post code and (eventually) binaries.