Setup/Installation: Facebook - Social Networks Auto-PosterHow to setup Facebook in SNAP WordPress plugin and API
Native Facebook API Configuration instructions
>>> This page is for Official Free Native Facebook API.
>>> Use of native Facebook API requires review and approval from Facebook. Current review time is ~12-16 weeks.
>>> Alternatively Premium NextScripts API for Facebook can be used right away.
Since May 1st, 2018 use of native Facebook API requires review and approval from Facebook. You must have Facebook Approved App for this API to work. Current review/approval time is ~12-16 weeks. Please proceed with those instructions only if you already have an approved app or you ok with review/approval process and wait time.
The Facebook Platform uses OAuth 2.0 for authentication and authorization. You need to setup Facebook Application and connect this application to your blog and authorize it.
Native Facebook API could post (once you approved by Facebook):
1. Facebook Pages (all kinds) (User who authorized the plugin must be an admin of the page).
2. Facebook Groups (all kinds) (User who authorized the plugin must be an admin of the group).
Please note, that during review and approval Facebook may or may not grant you permission to post to either of both pages and groups.
1. Create a Facebook App for your website.
1.1. Login to your Facebook account.
1.2. Go to the Developers page: https://developers.facebook.com/
If you are not registered as “Developer” yet, you need to click blue button “Register”, accept the policy, solve captcha and/or confirm your phone number (if asked).
FAQ: Question: Why I can’t create an app on developers.facebook.com/apps ? When I am trying to enter that page it redirects me back to my account?
Answer: Facebook “Business” or “Advertising” accounts can’t manage apps. Only real user accounts are able to create and manage apps. Please login to Facebook as a personal account to be able to create app.
1.3. Click “My Apps -> Add a New App” menu item.
Fill “App Name” and “Contact email”. Agree to policies and click “Create App ID”, solve captcha (if asked), click “Submit”.
Important: Please use your own information, don’t literally re-type our email, “SNAP”, “NextScripts Blog”, “NextScripts.com” and other sample info.
1.4. No need to add any products yet, just click “Settings”->Basic on the left.
– Notice App ID and App Secret (Click “Show”, enter your password (if asked)) on this page.
– Fill “Contact email” field (if empty), then click “Add Platform”.
1.5. Select “Website” in the list.
Enter your full website URL to the “Site URL” field.
Enter your domain to the App Domains. Domain should be the same domain as the URL that you have entered to the “Site URL”.
Important!: You must enter the URL and domain that you see in your WordPress Admin Panel. For example your visitors come to your blog at https://blog.nextscripts.com, but you manage your blog from https://www.nextscripts.com/blog/wp-admin/ – you must enter https://www.nextscripts.com/blog to the URL Field and www.nextscripts.com as the domain. Also please note that nextscripts.com and www.nextscripts.com are two different domains.
Important!!! Again, Please use your own information, don’t literally re-type “NextScripts Blog”, “NextScripts.com” and other example info.
“Important” Please also enter your contact email. You won’t be able to make public posts without entering email.
Click “Save Changes”
1.6. Click (+) next to the “Products” in the left menu.
You should see the “App Dashboard”->Add a Product page. Please click “Set up” in the “Facebook Login” product box.
1.7. Choose “Web” from the “Platform” selection
1.8. You should see your site’s URL. If not, please enter the URL of your site to the “Site URL” field. Click “Save”.
Important: Please enter the URL of your own website. Do not enter NextScripts.com
1.9. Click “Settings” under “Facebook Login” in the left side menu. Please enter the URL of your SNAP Plugin “Accounts” page to the “Valid OAuth redirect URIs” field. Click “Save changes”.
FAQ: What is “URL of your SNAP Plugin “Accounts” page” and how to find it?
Please go to your WP Admin panel and click on “Accounts” under the SNAP|Autoposter in the left side menu. The URL of that page is the “URL of your SNAP Plugin “Accounts” page”
[Important] Your MUST USE httpS (SSL) protocol. Facebook no longer accepts unsecured HTTP-Only sites.
At this point, your app is ready for testing and review/approval submission. You can connect it to SNAP and make posts. Such posts will be visible to app and Facebook admins only.
2. Connect Facebook to your WordPress.
2.1. Login to your WordPress Admin Panel, Go to the Settings->Social Networks AutoPoster Options.
2.2. Click green “Add new account” button, select “Facebook” from the list.
2.3. Fill “App ID” and “App Secret” from step 4 above.
2.4. Click “Authorize Your Facebook Account” and follow the authorization wizard. Facebook will ask you series of questions. If you get any errors at this step, please make sure that domain for your WordPress site is entered to your App as “App Domain”.
[Important]: If Facebook tell you that you need to switch to your main account, you will need to close the wizard, go to facebook.com, switch account, and then start authorization from the beginning.
[Important]: Facebook App, Facebook profile or page and the user who authorizes the app MUST belong to the same Facebook account. So please make sure you are logged to Facebook as the same user who created the app.
[Important]: When Facebook Authorization Wizard asks you for the access privileges to your profile/pages, do not uncheck anything and don’t click “Skip”.
Facebook don’t have the ability to request permission to just one page. It’s either all of them or none. If you click “Skip” it means you forbid Facebook from posting to any of your pages, groups or profiles.
Our plugin will post only to the page that you specify.
Your Facebook account is now authorized to work with SNAP.
If your page is NOT in the list please see how to add it here: Why Page/Group is not in the list and how to add it
3.1. Submit your app for review.
Please go back to https://developers.facebook.com/apps/ and click on your app, then on App review.
Click “Start submission”.
Follow Facebook instructions and submit your site description and details about how you are going to use the app…
*** Please follow this temporary unconfirmed guide for app review submission. Once we get an approval we will update this.
………………..[Please wait 12-16 weeks for the approval]……………..
3.2 Once your permissions are approved, you can take your app “Live”.
All Facebook apps are in “Development” mode by default. All posts will be visible only to to Admins, Developers and Testers. You need to take an app “Live” if/when you would like your posts to be seen by everybody.
Click “App Review” on the left. Change “Make APPNAME public?” switch from “No” to “Yes”.
Click “Save Changes“.
Your are ready to autopost!
Facebook Error: “URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs”
Please check #9 of instructions again. The value of the “Valid OAuth redirect URIs” field does not match the actual URL of your SNAP Plugin “Accounts” page.
Please see more issues in the “Troubleshooting FAQ”
Support for "Google My Business" is coming this fall. Google recently made some kind of blog-a-like functionality available for local business listings. As a local business owner you can add posts, events, offers as well as products to your business listing. Although...
We are getting a lot of questions about upcoming deadline for Facebook app review. People are asking what should we do. The honest answer would be: "No one has any idea". We submitted several apps for Facebook review using different ways of describing and explaining...
What happened with Facebook? Facebook made changes to it's API access policy on May 1st, 2018. As the result we introduced our own Premium API for Facebook. We feel that we need to explain how exactly those changes affected SNAP. Since the beginning Facebook native...
Instagram made some very big changes to authentication process. About 70% of our users are affected by them. Before the changes the process was quite simple: Sometimes Instagram decided that login from SNAP is "unusual" and asked for confirmation. You just had to open...
Sometimes Instagram decides that login from SNAP is "unusual" and asks for confirmation. Until yesterday, you just had to open Instagram on your phone and tap "This was me" button on "We have detected an unusual login attempt" screen. Yesterday this stopped working....