Closed (fixed)
Project:
Twitter
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
1 Feb 2009 at 04:26 UTC
Updated:
19 Jun 2009 at 23:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagohm unfortunately this won't work anymore with the recent rules dev version as I've dropped default support for core actions of type system, because most of them were not working properly without further fixes. I've updated the docs now, to reflect this.
So as there won't be the automatically transformed info, we have to provide the whole action info to rules. Furthermore I fixed to pass just NULL to it, so the action can be used even in cases where there is no node.
Comment #2
fagoNote I experienced some general troubles with the twitter action: http://drupal.org/node/369559
Comment #3
fagoforgot to add support for input evaluators, attached updated patch. So you can use tokens of every available variable with the action.
Comment #4
fagoComment #5
gordon commentedI have been testing this on TWiT.tv and it is working great. please commit.
Comment #6
designerbrent commentedThis does not seem to be doing the variable replacement. If i use the regular trigger based actions, I can use all the variables mentioned like %title, %teaser, etc but when using it with rules, it doesn't seem to do the replacement.
Comment #7
fagoHm, right those replacement don't work right with rules as they working by hook-contexts that aren't available (or necessary) with rules. But you have all replacements provided by rules input evaluation plugins (tokens, php, ..). So probably we should just remove the help text regarding the built-in variable replacements for rules?
Comment #8
mitchell commentedsubscribe
Comment #9
designerbrent commentedFinally got back to this. I've been testing and cannot get the twitter actions module in Rules to use the Tokens. When it twitters with tokens, it just passes them right through.
Comment #10
designerbrent commentedWow.. how in the world did I miss #3... Added the input evaluators and bingo, it works! I would say it is ready to go at this point.
Comment #11
eaton commentedCommitted. Thanks!
Comment #13
pribeh commentedWhat about %node_url? Is there a token replacement that will utilize the url shortening wonder that the twitter module allows for? I can't find it. If not that's cool but I don't find rules integration that interesting without the use of those urls to link back to nodes, etc. Dont' mean to sound unappreciative - both these modules rock!