I see that the 2.x branch has token support for actions and I'm really hoping the 3.x branch does too. Downloaded the latest 3.x dev and it doesn't seem to. Not only that, I'm getting this error on the latest dev when using Twitter with either the rules or actions modules:

Fatal error: Call to undefined function twitter_authenticate() in /home/foxblog/public_html/foxcitieshired/sites/all/modules/twitter/twitter_actions/twitter_actions.module on line 80

Comments

Anonymous’s picture

Also like to see token support for Twitter posts, so you can stick CCK fields and taxonomy terms in the message.

meecect’s picture

+1 great idea.

meecect’s picture

StatusFileSize
new3.97 KB

I've added token support to 3.x-dev as a patch. Patch is attached. You can now use any tokens that are supported by nodes. Node type is '[type]', for example.

elbym’s picture

patch does not work for me

meecect’s picture

docmiller, what version of the module are you using? Did the patch apply and not work or did it not apply? Did you get any error messages?

I patched a clean version of 3.x-dev and it worked fine, and am using it now on production sites.

elbym’s picture

wroooong... just made a horrible mistake. Your patch works fine, and has nothing to do with my problem. I need a "delete comment" button :(

michaek’s picture

Assigned: Unassigned » michaek
Status: Active » Needs review
StatusFileSize
new3.15 KB

Here's a re-roll of that patch against the current dev version. I haven't tested this myself yet, and I won't push it to dev until I do.

michaek’s picture

Status: Needs review » Closed (fixed)

This works as far as I can tell. See: http://twitter.com/#!/DrupalTweetAuth

I'll push this patch to dev.

dawansv’s picture

Status: Closed (fixed) » Needs work

Reopening because from what I can see that patch was implemented in twitter_post only. As far as I can tell, Twitter_actions still does not process tokens...

dawansv’s picture

Status: Needs work » Needs review
StatusFileSize
new2.28 KB

Attached is a patch to add tokens to twitter_actions.

juampynr’s picture

Assigned: michaek » Unassigned
Category: feature » task

True, this logic is on 6.x-2.x. I need a review from other developer so it gets to Reviewed and Tested by the Community.

If it has not been implemented in 7.x-3.x, a patch for this version should be given as well.

steinmb’s picture

Title: Token support in the 6.x-3.x branch? » twitter_actions token support missing
juampynr’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.