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
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | token-support-twitter_actions-871728-9.patch | 2.28 KB | dawansv |
| #7 | token-support-871728-7.patch | 3.15 KB | michaek |
| #3 | token_support-958852-1.patch | 3.97 KB | meecect |
Comments
Comment #1
Anonymous (not verified) commentedAlso like to see token support for Twitter posts, so you can stick CCK fields and taxonomy terms in the message.
Comment #2
meecect commented+1 great idea.
Comment #3
meecect commentedI'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.
Comment #4
elbym commentedpatch does not work for me
Comment #5
meecect commenteddocmiller, 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.
Comment #6
elbym commentedwroooong... just made a horrible mistake. Your patch works fine, and has nothing to do with my problem. I need a "delete comment" button :(
Comment #7
michaek commentedHere'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.
Comment #8
michaek commentedThis works as far as I can tell. See: http://twitter.com/#!/DrupalTweetAuth
I'll push this patch to dev.
Comment #9
dawansv commentedReopening 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...
Comment #10
dawansv commentedAttached is a patch to add tokens to twitter_actions.
Comment #11
juampynr commentedTrue, 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.
Comment #12
steinmb commentedComment #13
juampynr commentedCommitted. Details at http://drupalcode.org/project/twitter.git/commitdiff/6b7473e26ffc44c389d...
Nice job everyone.