I have a rule configured to post to Twitter and in the 'Post a message to Twitter' action I have the sender set as 'site:current-user'. I have a single Twitter account configured under an admin account which I have made global. If I create a node using the admin account the message gets posted to Twitter, but if I create a node using any other account the Twitter post does not happen. In the logs I can see 'Twitter authentication failed. Please check your account name and try again.'.

Do I need to set something other than 'site:current-user' as the Sender in my action, or do I need to do something to the global account, or is this bug?

Thanks.

Comments

mshepherd’s picture

Category: support » feature

By coincidence, I've come looking for an answer to the same question only hours after your post!

As it seems this functionality does not exists at the moment, I've changed this to a feature request.

Maybe [twitter:global-user] as a data selector?

In direct input mode, the sender is given in a User Identifier field (Specify an identifier of a user), but it's not clear if this should be a UID or a user object. Maybe that's more of a documentation issue.

mshepherd’s picture

As to my last point above, I can post to twitter using the global account by specifying the UID of the global twitter account owner in the User identifier field. In my case, the global twitter account is owned by UID 1.

This works great for me.

Even so, it would be nice to have a data selector as above.

dbooth’s picture

mshepherd you're a genius!! Switching to direct input and entering a UID works a tweet - thank you very much!!

mshepherd’s picture

why thank you! I'm glad you got it working!
I'm finding Rules integration in the Twitter module to be EXTREMELY useful.

...works a tweet... tee hee!

dddave’s picture

Version: 7.x-3.0-beta4 » 7.x-6.x-dev

still relevant?

DamienMcKenna’s picture

Issue summary: View changes

We're always willing to review patches :)