Twitter applet
Make a Twitter/Identi.ca (Google Plus / Facebook / etc.) applet.
It should be designed to be very simple (there are already numerous programs that are specialized in micro-blogging).
Therefore, it should focus on the following features:
- send a tweet in 1 click [DONE: left-click, type the message, enter]
- get the latest tweets of people we follow (the 'timeline') in 1 click [DONE: middle-click]
- get the latest received messges [DONE: menu -> [New] direct messages]
- be able to reply messages [DONE: menu -> [New] direct messages -> Choose one, type the reply], and retweet tweets [DONE: menu -> [New] tweets -> Choose one, and confirm the retweet]
A possible design would be:
click -> show the entry dialog (message box, 140 characters max), press Enter -> send message
middle-click -> show latest tweets from our followers in a dialog with a vertical scrollbar, and 2 buttons reply and retweet.
menu -> show latest tweets
. show latest messages we received -> dialog with a list of messages and a reply button
. open web page
A timer would be used to check new tweets and messages. When a new tweet/message is received, open a dialog box with the text and trigger an animation on the icon.
[I did it without requiring the timer, and basically putting a thread to maintain a keep-alive connection with Twitter Stream. As soon as a new tweet arrives, a callback is triggered with the new tweet being passed as parameter. A counter with the number of new tweets is shown as QuickInfo (text on the bottom of the icon), and the user can see the new tweets by right-click -> New tweets. It ended up being a nice way to deal with notification on this plugin]
1 message = {time, user, icon, message}
Blueprint information
- Status:
- Complete
- Approver:
- Fabounet
- Priority:
- Medium
- Drafter:
- Fabounet
- Direction:
- Approved
- Assignee:
- Eduardo Mucelli Rezende Oliveira
- Definition:
- Approved
- Series goal:
- Accepted for 3.1
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- Eduardo Mucelli Rezende Oliveira
- Completed by
- Fabounet
Whiteboard
"get the latest received messges" this means direct messages?