encapsulating fb for durpal actions
Hi All,
Another set of questions/ thoughts, stemming from my need to create custom actions.
As a developer, there are two things I need to do
1. make certain actions available in code, while reusing as much of the fb_actions code as possible.
2. more specifically, I want an action that differs from the existing publish to FB profile in in that it can refer to the current node (ie supports node tokens).
So all of this can be done with not much more that a simple cut and paste. But beyond such hacks, it seems that there's a lot of very useful functionality in the actions module. And as I try to work out how to reuse it, I wonder if we could discuss possibly refactoring some of it to get more flexibility.
Again, I'm in the fairly early stages of this, and I certainly haven't absorbed all the nuances of the fb for drupal code, nor all of the intricacies of drupal modules - so if this isn't the most productive conversation to have at this stage of development I completely understand. but I thought I'd throw it out there as my experience as a developer.
Best,
Ian
Subaltern Productions
- Forums:

The drupal for facebook
The drupal for facebook actions should support tokens. If they're not, submit to the issue queue.
I started working with the older style of actions, but if you check out the very latest actions module from CVS (DRUPAL-5 branch), there are some improvements and it has more in common with Drupal 6 actions. At the moment DFF has some old style actions and some new style, and I don't plan to spend any more time on the older style.