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.
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.
@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.
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
Hi, this issue was resolved in version 4.1.3 (and newer).
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
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.
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.
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.
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.
For the jobs posted earlier i am afraid you would need to sent them to social media manually.
Greg, I’m getting:
Invalid Scopes: read_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
When trying to authenticate. Any ideas?
There were some changes in FB API, you need to upgrade to latest WPJB version, reset FB configuration and configure it again.
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.
At developer.facebook.com
STEP 1: In Settings -> Basic -> Contact Email. (Give your/any email)
STEP 2: in ‘Status and Review’ Tab : change
Do you want to make this app and all its live features available to the general public? Yes
http://stackoverflow.com/questions/30085246/app-not-setup-this-app-is-still-in-development-mode
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
@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.
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?
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.
Hi, I was wondering if it would be able to tag a Facebook account or page with this integration feature? Thanks in advance!
Hi, you should be able to do that by using the #, in the message template.
Hi Greg, is it possible to post to a Facebook group that you are an Admin for or does this only work for pages?
Hi, it is only possible to post to your Pages (ie. the pages where you are an administrator).