I would like to thanks to the creator of this module for this incredible work.
I have observed some things that with which you can make twitter more better.
1) Nodes that are not published should not be posted to twitter. There may be approval process for nodes to get publish right?
2)Twitter passwords are not being encrypted which is not good. There should be someway to encrypt it while saving in db and when posting to twitter it should get decrypted.
Comments
Comment #1
pribeh commentedin response to #1:
Ya, you could accomplish this with rules but the problem I find with using rules is that I can't find a %url replacement so that tinyurls are used to link back the "published" content from twitter.
Comment #2
rightchoice2c_me commentedMy requirement was that nodes should not get published as they are created, there is an approval process, once the content is approved then it should set the status in twitter. But twitter module set the status in twitter.com once the content is created.
As I am using workflow module for approval process. I set the action is workflow Post to twitter when content is published.
I did that by just adding a workflow in context in this hook twitter_actions_set_status_action in twitter_actions.module file.
Comment #3
summit commentedsubscribing, greetings, Martijn
Comment #4
eaton commentedTwitter module should not post to twitter when a node is unpublished.
if (!empty($node->status))...in Twitter's hook will bail out if the node's status is not 'published'. Is it possible that the nodes ARE published by default, but their status is being changed to 'unpublished 'by actions or some other mechanism?Comment #5
rightchoice2c_me commentedtry workflow module.
Comment #6
aeneas07 commented@eaton they shouldn't be but they are...
I tried the workflow module but the variables for the twitter module weren't working, it would just say %title instead of the actual title.
a sort of fix is to put the twitter action on the when node is updated trigger and not the saved one. It isn't perfect but it works
Comment #7
pembertona commentedI think some of the confusion here is in the module's handling of nodes that aren't published by default.
As of version 2, if a given node isn't set to be 'published' when initially created, checking the 'post to twitter' box gets wiped out when saving the form. Only after the post is published does the checkbox make any sense.
I added a check to twitter_form_alter to prevent displaying the twitter form on unpublished posts:
//Because tweets can only be added for published posts, don't display form for unpublished
Comment #8
moguls commentedI am running 6.x-2.6 and having this problem. I have a CCK content type I am creating and testing. It defaults to unpublished. The content type is NOT checked to post to Twitter on the Twitter Setup admin page, yet when I edit the node, it gets posted to Twitter. It should not as it is not published and set up to not be posted to Twitter.
Thanks.
Comment #9
steinmb commentedNot critical, but we should perhaps retest (and write an test) with the latest versions to make sure that unpublished nodes are not updating the twitter feed.
Comment #10
dddave commentedComment #11
damienmckennaThis is a duplicate of #382850: Unpublished nodes are posted to Twitter.