Active
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Contrib Submodule
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 May 2012 at 17:42 UTC
Updated:
11 Sep 2013 at 15:39 UTC
I have an app on Facebook (with a tab) that shows a Webform in an iframe. If possible, I'd like for Drupal/FB to share when a person submits that webform. I assume this uses Open Graph. For example, "Joe Public answered this survey." Is this possible using this module?
Comments
Comment #1
Dave Cohen commentedI don't know what hooks webform offers, but I assume it offers something to make this possible. In that hook, you can call fb_graph() to post to facebook's graph api. Take a look at the Drupal 6.x version of fb_stream_nodeapi() for some example code (still to be ported to D7).
In addition to posting to a wall, you could post an action to user's timeline. The code is similar, but this is more involved because you have to configure timeline actions using facebook's dev tools.
Comment #2
serij_girl commentedHi everybody, I'm using this old topic cause is exactly what I'm searching for: can anyone explain me how to share on facebook the submission of a webform?
I use my website for subscribe the partecipation to an event: I'd like the user can publish on facebook something like "I've subscribed to this event!", maybe a popup window after clicking the button "Submit!".
I don't really know how to call fb_graph and where... How can I do?
Thanks anyone who will answer.
Comment #3
serij_girl commentedAnyone?