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 our 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 click the Add Platform button.

Click the Add Platform button to add your website URL

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. From the menu on the left, select App Review.

Your first item is the Make My New App public?, click the No button.

Make your App available to the public

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.

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.
Save your Facebook App ID to Envira

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.

Check that the Site URL Exactly Matches Your Site’s URL
It is vital that the Site URL entered for the Facebook Application exactly matches the site your galleries are being shared from. This includes whether your site uses www. before the domain name or not, and if it uses a subdomain.

You can check the exact setup of your site’s URL by visiting a gallery page on your site and viewing the url shown in the browser’s address bar.

A: The name you’ve given your Facebook Application will appear in the Facebook share from your galleries. For example, the following shows that my Facebook Application is named “Envira Gallery Social Addon”:

The name of your Facebook Application will be visible in Facebook shares.

To edit this name, go to Settings from the left side menu and change the Display Name. Next, click the Save Changes in the bottom right corner.

Edit the display name from the Settings menu and click Save Changes