it looks like only the single line and short story feeds are supported for publishing actions. did i miss the action for updating a user's status?
for example, i'd like to have comments get published to a user's update status, rather than a one liner (publish dialog seems redundant for a comment).
i guess more generally, what would be the proper way to extend dff publishing actions for other contributed modules (like voting api), based on triggering event? maybe transform the fb_feed.module such that it can be called by other modules to publish one liners, short stories or to a user's status? i searched for status_set() in fb_feed.module, not sure where else it would be...
i'd be happy to contribute any code i'm lucky enough to get working if shown the right way to do it.
Comments
Comment #1
Dave Cohen CreditAttribution: Dave Cohen commentedThere's no action to do this right now, but I'm in favor of adding it. Want to take a stab at it?
The options are to either create a new module, say fb_status.module (or fb_stream.module using the newer stream api). Or add to fb_actions.module. fb_actions.module was originally intended to be a place for such things, but as the fb_feed support got more complicated I moved the feed-related actions there.
The module should also prompt for the set status extended permission, or work with the fb_perms module to do so.
Or just write a custom module handling your specific case. I.e. implementing a votingapi hook and calling facebook api from there. Sometimes its better to do that instead of trying to add this to Drupal for Facebook in a generic way. know what I mean?
Comment #2
psi-borg CreditAttribution: psi-borg commented"There's no action to do this right now, but I'm in favor of adding it. Want to take a stab at it?"
haha sure dave if you want dff turned into a bloody pulp.
"The module should also prompt for the set status extended permission, or work with the fb_perms module to do so."
what are the extended permissions checkboxes for the fb application content type for? i have the extended permission checked for status_update, yet i get Error 250, Updating status requires the extended permission status_update.
"Or just write a custom module handling your specific case. I.e. implementing a votingapi hook and calling facebook api from there. Sometimes its better to do that instead of trying to add this to Drupal for Facebook in a generic way. know what I mean?"
first i tried writing a trigger for plus1... it called your fb_actions_profile_fbml, but tokens were missing for title and nid, which renders the action useless.
farceborg is supposedly worth $10billion and this is what they come up with for documentation: http://wiki.developers.facebook.com/index.php/Facebook.showPermissionDialog
sigh-borg
Comment #3
psi-borg CreditAttribution: psi-borg commentedComment #4
psi-borg CreditAttribution: psi-borg commenteddave, what i'm failing to understand is why the publish dialog action behaves differently if invoked from different triggers...