So you've created a social action in your ActionSprout account, and now you want to get the word out. Naturally, your blog or website is a great place to reach the people who care most about your cause. But how do you get your Facebook action from over here to over there?

We can help with that! The ActionSprout tool makes it easy to embed those social action right onto your site.

How to do it

To get started, log into ActionSprout and select the Facebook page you'd like to work with from the Accounts screen. 

Next, open the Social Actions section of your account and click the green Share button next to any action that you'd like to embed.

In the menu that opens, scroll to the bottom until you see the embed code. Then click the Copy Link button.

You’ll copy this code and simply paste it into your blog or website. It will look something like this:

Example Code
<script src="https://actionsprout.io/embed.js"></script>
<script>window.ActionSproutEmbed("A24868");</script>

Please note that when entering this embed script into your webpage, you'll need to paste it in as code or text. Most web editors offer a text or HTML option where you can paste code in. 

You may also see the option to include a "code block" or "code snippet" where you can paste it in.

A couple of things to keep in mind

  • Your website or blog must support <script> tags in order for this to work.
  • If you have a WordPress site, double check that enabling HTTPS is switched ON in your settings. 
  • If the width of your embed item is less than 500px it will cut off some of your content on the right hand side.
  • If your action is long (e.g. a tall image or long description) then the "share" and "donate" prompts may appear in the middle of the page (which may require scrolling down) instead of showing up directly under the users current view.

Did this answer your question?