Facebook Integration

This article will help you setup Facebook integration.

Claim your API Keys

Before you can use Facebook integration you need to create Facebook Application in order to generate App ID and App Secret keys.

While loggedin to your Facebook account go to Facebook Developers page. In the top left click Apps / Create a New App. New modal window will show, enter your Application display name, category and click “Create App” button.

Your application should be created now. At the top of the page you should be able to find App ID and App Secret keys (we will be using them a bit later).

In the left sidebar click Settings link and then big “+ Add Platform” button. In the popup window select Website, enter your site URL and save changes.

Configuring Facebook Integration

Now go to wp-admin / Settings (WPJB) / Facebook panel on your site. Enter your App ID and App Secret keys generated earlier, save the form and (after page reload) click “Connect with Facebook” link. Authenticate yourself with your FB account.

After successful authentication you should be redirected back to your site, where from the list you will be able to select to which account you wish to post updates (the list will allow you to select either your personal account or one of Pages to which you are assigned as an Administrator). Select one of accounts and save the form.

Finally you will be presented with some automatic shares default parameters that will allow you to customize your FB shares, set them as you see fit and again save the form (you will be able to edit this at any time).

Testing your configuration

At the bottom of the configuration form “Send Test Share” button, once you finished your configuration it is recommended to use it in order to verify if your application is working as expected.

  1. Thanks for the posting, great help. However i have setup my api code and secret but when i come to connect with Facebook i receive the below?

    Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains.

    • Greg
      Reply

      @chris please make sure that in the “+Add Platform” section in FB configuration you properly added site URL from which you are using FB integration.

  2. Hi Greg,

    I get this error if i follow the steps above? Any thoughts at all?

    (#200) The user hasn’t authorized the application to perform this action

    • Greg
      Reply

      Hi, this issue was resolved in version 4.1.3 (and newer).

  3. i’ve receiving this error “Error validating application. Application has been deleted.”

    website name has been configured properly and the same api keys are working on next scripts auto post plugin

    • Greg
      Reply

      If you are an owner of the app, you can go to https://developers.facebook.com/appeal There will be an restricted app you can appeal for. And you can see there reasons why your app has been restricted.

  4. Paul
    Reply

    I get the following error. Any idea why?

    Error validating access token: This may be because the user logged out or may be due to a system error.

    • Greg
      Reply

      Does this happen when authenticating for the first time? If so it might be best if you would send me an email. If you were authenticated previously then you just probably need to reauthenticate.

  5. Hi Greg, I have some jobs on my board that were posted before I had my social media integration set up. Is there a way to send the jobs out to my social media when they are updated or do they have to be re-created to be sent to FB/LI/Twitter? Thanks.

    • Greg
      Reply

      For the jobs posted earlier i am afraid you would need to sent them to social media manually.

    • Greg
      Reply

      There were some changes in FB API, you need to upgrade to latest WPJB version, reset FB configuration and configure it again.

  6. Rob
    Reply

    I get this message when I try to connect:

    App Not Set Up: This app is still in development mode, and you don’t have access to it. Switch to a registered test user or ask an app admin for permissions.

      • Rob
        Reply

        thanks for that Greg. I got a bit further…but now I get:

        (#200) The user hasn’t authorized the application to perform this action

        I can see this was a problem previously from messages above. Any clues for what could be causes this now?

        Cheers

      • Greg
        Reply

        @Rob, are you using latest WPJB version? If not please update to 4.3.2 and try to configure authorization again.

        If this won’t help you can email me site access i can take a look.

  7. Hi,

    The Facebook integration is working great for me, but along with the job post info, it’s posting an unrelated image from my website in the Facebook post. Can I disable this?

    • Greg
      Reply

      Hi, most likely this additional data is coming from some other plugin (usually some SEO related plugin) or theme that is inserting OpenGraph meta tags into page content from WPJB itself it is not really possible to do anything about it.

  8. Steph
    Reply

    Hi, I was wondering if it would be able to tag a Facebook account or page with this integration feature? Thanks in advance!

    • Greg
      Reply

      Hi, you should be able to do that by using the #, in the message template.

  9. Luke
    Reply

    Hi Greg, is it possible to post to a Facebook group that you are an Admin for or does this only work for pages?

    • Greg
      Reply

      Hi, it is only possible to post to your Pages (ie. the pages where you are an administrator).

Leave a Reply

Your email address will not be published.