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

Dave Cohen’s picture

I 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.

serij_girl’s picture

Priority: Normal » Major

Hi 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.

serij_girl’s picture

Anyone?