Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets Twitter [and Identi.ca] applet
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
Twitter [and Identi.ca] applet [Bug #268]
Page : 1 2 3 4 5 6
Eduardo Mucelli English 118 matttbe [Read]
09 May 2015 à 10:10

matttbe, Thursday 29 March 2012 à 11:28 | Quote


Subscription date : 24 January 2009
Messages : 12573
We can send a message with 140 characters but the counter limit here is drawn in red if the characters number is higher or egal of a given number.

Last week I was not able to send a tweet that started with "#cairo-dock (...)".

It is not possible to send messages with more than 140 characters, the limit is strictly defined on the Twitter API, 140 characters.
yes but is it possible to display a message (and keep the tweet) if the user tries to post a tweet with more than 140 characters?

Eduardo Mucelli, Saturday 31 March 2012 à 02:21 | Quote


Subscription date : 05 August 2009
Messages : 285
@matttbe: Sure it is possible. I am going to take care of it.

matttbe, Saturday 31 March 2012 à 11:24 | Quote


Subscription date : 24 January 2009
Messages : 12573
Thank you

Eduardo Mucelli, Saturday 31 March 2012 à 12:53 | Quote


Subscription date : 05 August 2009
Messages : 285
I thought the character limit was a way to enforce the number of characters on the text field, i.e., the user could not type more than the limit number of characters. Thanks for the clarification.

Eduardo Mucelli, Tuesday 08 May 2012 à 14:50 | Quote


Subscription date : 05 August 2009
Messages : 285
Guys, how you thought about the Identi.ca support? Could the applet be used for Identi.ca only? Or it is going to be more like "Always Twitter but with a sidecar for Identi.ca"? Most of users come from Twitter, sure, but Identi.ca only users could not use the applet without having also a Twitter account, is this relevant for us, or not?

The same authorization process will be done for Identi.ca, ask username, open browser, type user + pass, copy PIN, paste on the dialog.

matttbe, Wednesday 09 May 2012 à 02:56 | Quote


Subscription date : 24 January 2009
Messages : 12573
For me, it can be interesting to post the same message on Twitter and Identi.ca (and G+, and (...)) but also to post a message only on Twitter/Identi.ca (e.g. to answer to someone or if you only have a Twitter/Identi.ca account).

But I think the first goal of this applet is to quickly post a message and then display the notifications.

fabounet, Thursday 10 May 2012 à 16:57 | Quote


Subscription date : 30 November 2007
Messages : 17118
+1
so what about something like the Shortcuts applet ? by default it lists disks + bookmarks, but you can choose which category to display.

Eduardo Mucelli, Sunday 13 May 2012 à 14:57 | Quote


Subscription date : 05 August 2009
Messages : 285
I added the Identi.ca support. It was really hard, and by now I still hate how I did it, I mean, the code Anyway, it works. I kept in mind that it is a Twitter applet with support to Identi.ca. Therefore, the user needs to add a Twitter account, and then it is possible to unlock the Identi.ca support. It is not the ideal solution, I know, but considering that most of users are Twitter users, it is not going to be a step back at all.

As soon as the user is already using the Twitter applet, a menu like the one bellow is shown:

http://img100.imageshack.us/img100/9849/menuix.png

At the moment, it possible only to post a tweet on both networks. And also, it is possible to post the same thing on both, but not individually. I do not think the idea is to present many dialogs asking in which network to post, or things like that. My idea was more straightforward.

fabounet, Monday 14 May 2012 à 13:17 | Quote


Subscription date : 30 November 2007
Messages : 17118
I do not think the idea is to present many dialogs asking in which network to post, or things like that. My idea was more straightforward.

absolutely

I kept in mind that it is a Twitter applet with support to Identi.ca.

for my personnal use, I'm ok with that.
maybe it could be nice to have something like that (this is just an idea):
user adds the applet -> dialog to ask twitter account, with a "skip" button -> user added the account or skipped -> 2nd dialog to ask an Identi.ca account, with a "skip" button.
I don't know the implications of having 2 accounts on the applet (especially the part that checks for new messages or the one for replies)

if it's too hard, I'm happy with the good Twitter support and the ability to post on identi.ca at the same time, this is already a very good job !

Eduardo Mucelli, Thursday 17 May 2012 à 21:58 | Quote


Subscription date : 05 August 2009
Messages : 285
Good news. I've improved the code, really much, and soon, if the user wants, the applet can be only Twitter, or only Indeti.ca, or both.

Eduardo Mucelli, Friday 18 May 2012 à 13:18 | Quote


Subscription date : 05 August 2009
Messages : 285
So, now the applet works individually for the accounts, I really liked the final result, but I still have to work on some more small stuff, and add more support for Identi.ca, currently it is capable only of send tweets.

When you start the applet you see something like this: http://img535.imageshack.us/img535/7361/nonetwork.png

And then if you connect with Identi.ca, something like this: http://img11.imageshack.us/img11/5454/identicac.png

And if then you connect with Twitter, something like this: http://img716.imageshack.us/img716/4109/twitterandidentica.png

When you connect only with Twitter, the applet icon is shown, i.e., nothing changes.

matttbe, Saturday 19 May 2012 à 01:09 | Quote


Subscription date : 24 January 2009
Messages : 12573
Now available on BZR
Works fine and I like the new icons
Thank you

matttbe, Saturday 19 May 2012 à 01:19 | Quote


Subscription date : 24 January 2009
Messages : 12573
PS: is it possible that when we receive a new tweet, there is an animation until we click on it? (is it possible to stop it also when we click on 'New Tweet' menu entry?)

Eduardo Mucelli, Saturday 19 May 2012 à 02:38 | Quote


Subscription date : 05 August 2009
Messages : 285
@matttbe: There is an animation option on the configuration screen. The animation stops as soon as the main icon is clicked, and personally I think it is the right behavior. The user already knows something is happening there. Anyway, I do not know how to keep it until the user clicks on the menu entry itself, is it possible?

Why animate until the user click on the menu is an advantage? And how to trick with the API to keep the animation running until an "event" happen.

matttbe, Saturday 19 May 2012 à 12:54 | Quote


Subscription date : 24 January 2009
Messages : 12573
Anyway, I do not know how to keep it until the user clicks on the menu entry itself, is it possible?
I think you can simply stop demanding attention when you do any actions. E.g. in bash
dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.DemandsAttention boolean:false string:default string:"class=firefox"


But I think the best way is to demanding attention only during X seconds just like the behaviour of the messaging menu: there is an animation (demanding attention) if there is a new message but it stops demanding attention after a few seconds (we can still see that there is a new message because the icon has changed).

Eduardo Mucelli, Saturday 19 May 2012 à 13:08 | Quote


Subscription date : 05 August 2009
Messages : 285
I am already using DemandsAttention, but my point is, it stops animating as soon as the user clicks on the main icon, not on the menu entry with the new message. Activate the animation on the Configuration menu of the applet, and see if that is the behavior you are suggesting.

matttbe, Saturday 19 May 2012 à 16:11 | Quote


Subscription date : 24 January 2009
Messages : 12573
This is what I'm proposing: if there is a new message, I want to be notified until I read it (not until I send a new message). Also, I want to be notified with an animation (DemandsAttention) but not all the time (if I'm doing something else ; but I can check all the time the indicator on your applet).

And maybe, it can be interesting to have a global option for the dock to disable all these 'demandsAttention' actions

Eduardo Mucelli, Saturday 19 May 2012 à 17:16 | Quote


Subscription date : 05 August 2009
Messages : 285
Im not saying that you should be notified until "send a new message". What Im not understanding is how, programatically, it is possible to animate an icon until a certain event, example read the message, once the default behavior of the DemandsAttention is to stop as soon as the main icon be clicked. And the user needs to click on the main icon to read the message. How can I hack DemandsAttention for that? Should I be polling the user checking if the message was read, and until that, keep calling DemandsAttention? It is too much hackish.

I understand your suggestion, but Im not seeing a way to accomplish that yet. Any suggestion?

matttbe, Saturday 19 May 2012 à 19:47 | Quote


Subscription date : 24 January 2009
Messages : 12573
Maybe by doing that: calling DemandsAttention with a boolean (set to false to stop the animation) on the 'on_menu_select' function?

Eduardo Mucelli, Saturday 19 May 2012 à 22:28 | Quote


Subscription date : 05 August 2009
Messages : 285
That is what I'm doing, the thing is: The animation stops before 'on_menu_select' be executed because DemandsAttention works like that, as far as I know. It stops animating the icon as soon as the main icon is clicked. And to read the message, the user needs to click on the main icon and it makes the animation stop.

If I could animate the icon indefinitely, and then call DemandsAttention passing false to stop the animation, ok, this would work. But DemandsAttention does not animate indefinitely, it animates until the user clicks on the main icon.

Applets | Applets

Subjects Author Language Messages Last message
Twitter [and Identi.ca] applet [Bug #268]
Page : 1 2 3 4 5 6
Eduardo Mucelli English 118 matttbe [Read]
09 May 2015 à 10:10

Post a message

Anti-spam filter 9 (*) times (*) 7 =
            
Did you know ? The Size tag can display your text in any size : [size=35][/size]


Glx-Dock / Cairo-Dock List of forums Applets | Applets Twitter [and Identi.ca] applet Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.