The Group Plugin for Email allows email recipients to join your group from an email message. You generate the code to add to the message to the email service provider which then sends a message with a button to your recipients.
Do the following steps to get the code for the plugin.
Open the group page and choose Embed Invite.
A window appears with the code to add to your message.
Copy the code to the message in your email campaign software.
Do not modify the code from the plugin.
Send a message to yourself to test the plugin. Once you have verified that you have received the message and can join the group from the message, you can start your campaign.
The Group Plugin for the Web is a plugin that adds a button to your web page that allows anyone to join your Facebook group. The plugin uses the Facebook SDK for JavaScript, to display a button on your web page. When the user chooses this button, the user will join your group.
Do not use the code for this plugin in an email message or an email campaign software.
To use this plugin, you will need the following:
Do the following steps to add the plugin to your web page.
The Join Button Code Configurator below generates the necessary code that you add to your web page. In URL of group, enter the URL of your group and adjust settings like the width
of your plugin button. Choose Get Code to generate the code that you can copy to your web page.
Copy and past the snippet from the Join Button Code Configurator into the web page where you want the button to appear.
Copy and paste the code example to your web page. Change <APP_ID>
to the App ID of your Facebook app and <group_URL>
to the URL of your Facebook group.
<html> <head> <!-- Load Facebook SDK for JavaScript --> <div id="fb-root"></div> <script> (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&version=v2.11&appId=<APP_ID>&autoLogAppEvents=1'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> </head> <body> <!--Your Group Plugin for the Web code--> <div class="fb-group" data-href="<group_URL>" data-width="280" data-show-social-context="true" data-show-metadata="false"> </div> </body> </html>
The following are the settings for this plugin:
Attribute | Description | Default |
---|---|---|
| Show the number of friends who are members of the group. |
|
| The absolute URL of the group | None |
| Shows other metadata about the group, e.g., Description. |
|
|
|
|
| Set the plugin width in pixels. The minimum width is 180 and the maximu width is 500 pixels. | 280 |
| Optional. Sets the color theme for the plugin content. The following options are supported:
|
|