title: Facebook emdedded Join Group button - Redirect on action
body: <p>I have added a Facebook Join Group button to my sales funnel using the generated code that FB provides. It works great:</p>
  
  <ul>
  <li>You have a script element with a Join Group button. </li>
  <li>Once you click the button it brings up the pop-up in which you can confirm to Join this group.</li>
  <li>Once you confirm the pop-up closes and the Join Group button text on a webpage refreshes and changes to Pending</li>
  </ul>
  
  <p>On this event (when somebody joins the group) I would like to redirect a visitor to next funnel step (new URL).</p>
  
  <pre><code>&lt;!-- FB Join Group JS code --&gt;
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v3.1&amp;appId=[app-id-number]&amp;autoLogAppEvents=1';
      fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
  &lt;/script&gt;
  
  &lt;!-- Display Button Code --&gt;
  &lt;div class="fb-group" data-href="https://www.facebook.com/groups/[fb-group-id]/" data-width="280" data-show-social-context="false" data-show-metadata="false"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Does anybody know how can I catch the Join event with JS and redirect to new URL?</p>