Envira Gallery Documentation

Documentation, Reference Materials and Tutorials for Envira Gallery

How to Add Your Facebook Application ID to the Social Addon

Need help setting up Envira’s Social Addon? Look no further! In this guide, we’ll walk you through the steps necessary to create and add your Facebook Application ID to the Social Addon’s settings.  This is a requirement by Facebook so you can share your Envira gallery and album images.


Step 1 – Social Addon Settings Tab

First you will need to install and activate Envira’s Social Addon.

Next, navigate to the Envira Gallery » Settings and select the Social tab. Here you’ll find the Facebook Application ID field.

To begin configuring your social settings navigate to the Social tab in the Envira Gallery Settings screen.

Step 2 – Create a Facebook Application

Visit https://developers.facebook.com/quickstarts/?platform=web to create a Facebook App ID.

Facebook requires to you to have a Facebook developer account before you can create your App ID. Click the Register button to complete this process.

You'll need to register as a developer before you can set up an App ID

Once you’re logged in as a developer to Facebook, click the Add A New App link from the menu under your name in the top right corner of the screen.

Select Add A New App from the menu under your name

A window will open asking you to enter a Display Name for your App. Enter your name and click click the Create App ID button. Facebook will ask you to complete a security check next and then redirect you to another page.

Enter a display name and click Create App ID

The name you give your App is displayed in the Facebook share window. You’ll need to keep that in mind as your name your App.

Next, click the Settings from the left side menu and add the URL for your Privacy Policy. If you don’t have one, you can simply enter your site URL.

Then click the Add Platform button so you can add your website URL.

Enter your privacy policy URL and click Add Platform to add your website address

A window will open for you to select Website. This is where we’ll enter our website URL.

Choose Web from the pop up to enter your site URL

Next, enter the URL of your site and click Save Changes.

Enter your site URL and save the changes

The URL should match the specific URL structure used for your site. For example, if your site uses a www. prefix, be sure this is included. If your site is loaded over SSL the protocol should be https:// instead of http://.
Step 3 – Publish the Facebook Application

Our next step is to allow the App to be used publicly.

If you don’t set the App for public use, only users logged in to your WordPress site can share your images.

There are 2 areas where you can make your App ID public. At the top of the page next to the View Analytics button or by clicking the App Review from the left-hand side menu.

Make your Facebook App ID public so that Envira can share your images

By clicking the toggle button at the top from Off to On or clicking the No button under the App Review, another window will open and ask you to choose a Category for your App. Then select your category from the dropdown and click Confirm.

Step 4 – Copy and Paste the Facebook Application ID

We can then copy the App ID by selecting the Dashboard link from the left menu. Next, copy the App ID from this screen by right clicking on the App ID and choosing Copy.

Copy the Facebook App ID to enter into your Envira Gallery settings

Finally, return to the Envira Gallery » Settings » Social tab » Facebook Application ID field and paste your App ID by right clicking on the field and selecting Paste and click Save.

To begin configuring your social settings navigate to the Social tab in the Envira Gallery Settings screen.

And that’s it! You can now continue setting up your galleries and albums for sharing your images on Facebook with the Social Addon. Once you finish setting up social sharing, showcase your Instagram photos using Envira’s Instagram Addon.


A: Yes! If a Facebook Application ID is not entered in the Envira Gallery’s Social tab, your galleries cannot be shared to Facebook using the Social Addon.

A: You’ll want to be sure and check the following which are the most common causes of failed sharing to Facebook:

Confirm your Facebook Application is Published
This step is easy to overlook! If your Facebook Application is not yet published, sharing to Facebook will fail. Follow these steps to publish your Facebook Application if it has not yet been published.