• Skip to main content
  • Skip to footer
AWP Wordpress Classifieds Plugin

AWP Wordpress Classifieds Plugin

The most widely used classifieds plugin for WordPress

  • Features
  • Pricing
  • Demo
  • Support
  • Login
  • Get AWPCP

Facebook Integration

June 12, 2019 By Bobbie Devereux

Facebook Integration

  1. Home
  2. Knowledge Base
  3. Plugin Administration
  4. Facebook Integration

Topics covered in this article

    • Facebook and Zapier Integration
  • Prepare the plugin to interact with Zapier
  • Create a Zap
  • Update plugin settings
    • Facebook and IFTTT (If This Then That) Integration
  • Prepare the plugin to interact with IFTTT
  • Create an Applet
  • Update plugin settings

We currently support two methods for posting new ads to Facebook: Facebook API and Zapier/IFTTT Webhooks.

Support for Facebook API will be removed in the future. Facebook significantly reduced access to their APIs across all apps on April 4, 2018. Now it takes longer and is more difficult to configure Facebook Apps that can post content to pages or groups. As a result, it is unlikely that this integration is going to work for new users. We introduced support for Zapier/IFTTT Webhooks as an alternative and expect customers to migrate to that integration method.

You can read more about Facebook changes here: https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes/

Facebook and Zapier Integration

Another WordPress Classifieds Plugin supports sending ads to Facebook using Zapier Webhooks. This document explains how to create a Zap for this purpuse and update the plugin settings to use it.

Prepare the plugin to interact with Zapier

  1. Set Zapier/IFTTT Webhooks as the selected Facebook Integration Method.
  2. Disable Send Ads to Facebook Automatically and Ask Facebook to clear cache for ads pages. We want the process to be manual during the creaton of the Zap. You can enable these features again at the end of the process.

screen shot 2018-09-16 at 11 35 29 am

Create a Zap

  1. Create or login to your Zapier account. Then go the Zap Editor.
  2. Choose Webhooks as the Trigger App:screen shot 2018-09-16 at 12 16 50 pm
  3. Select Catch Hook as the Trigger and click Save and Continuescreen shot 2018-09-16 at 12 15 22 pm
  4. Skip the Pick off a Child Key setp by clicking Continue.
  5. Copy the webhook URL that appears on the Test step:screen shot 2018-09-16 at 12 13 54 pm
  6. Go to the Facebook Settings on AWPCP and paste the webhook URL as the value for the Zapier webhook used to send ads to a Facebook page setting. Then click Save Changes.screen shot 2018-09-16 at 11 56 55 am
  7. Go to the list of ads on the admin dashboard and click the Send to Facebook action for the test ad you created before:screen shot 2018-09-16 at 12 47 39 pm
  8. Now go back to the Zap Editor and click the Ok, I did this button. You should see a list of at least one sample hook to choose. Expand the hook details to make sure it includes the information from the test ad:screen shot 2018-09-16 at 11 55 11 amThen choose a hook and click Continue.
  9. Choose Facebook Pages as the Action App:screen shot 2018-09-16 at 11 54 07 am
  10. Select Create Page Post as the Action and click Save + Continue:screen shot 2018-09-16 at 11 48 43 am
  11. Chose a connected Facebook account or connect one using the Connect an Accountbutton. Then click Save + Continue:screen shot 2018-09-16 at 11 47 53 am
  12. Select the Facebook Page where you want to send the ads:screen shot 2018-09-16 at 11 46 36 am
  13. Provide a message for the Facebook post. You can enter a custom message, use the title or description of the ad or a combination of those. Click the plus at the top right corner of the textarea to insert the titile or description of the ad:screen shot 2018-09-16 at 11 28 26 am
  14. Select the URL of the ad as the content of the Link URL field. This is required if you want Facebook to load the thumbnail, title and description from the Open Graph meta tags included in the page of the ad:screen shot 2018-09-16 at 11 40 39 am
  15. Once you have selected a Facebook Page, provided a message and a link URL, click Continue. Zapier should now show an example of the message that is going to be posted to the selected page:screen shot 2018-09-16 at 12 42 17 pmClick the Send Test To Facebook Page button and wait for Zapier to show a confirmation message:screen shot 2018-09-16 at 11 38 34 am

    Then check that the post was created on the selected page and click Finish.

  16. To complete the proceess, provide a name for the Zap you just configured and turn it on:screen shot 2018-09-16 at 11 37 17 am

Update plugin settings

  1. Double check that Zapier/IFTTT Webhooks is selected as the Integration Method.
  2. Enable Send Ads to Facebook Automatically if you want the plugin to send request to the webhook URL automatically.
  3. Enable Ask Facebook to clear cache for ads pages if yoiu want the plugin to ask Facebook to clear the cache it has stored for ads pages before trying to send a request to the webhook URL.

screen shot 2018-09-16 at 11 31 18 am

 

Facebook and IFTTT (If This Then That) Integration

Another WordPress Classifieds Plugin supports sending ads to Facebook using IFTTT Webhooks. This document explains how to create a Applet for this purpuse and update the plugin settings to use it.

Prepare the plugin to interact with IFTTT

  1. Set Zapier/IFTTT Webhooks as the selected Facebook Integration Method.
  2. Disable Send Ads to Facebook Automatically and Ask Facebook to clear cache for ads pages. We want the process to be manual during the creaton of the Applet. You can enable these features again at the end of the process.

screen shot 2018-09-16 at 11 35 29 am

Create an Applet

  1. Create or login to your IFTTT account. Then go the Webhooks Settings.If this is your first time using Webhooks on IFTTT, click the Connect button. You should be redirect to the same URL, but this time the page should show the webhook URL:screen shot 2018-09-16 at 2 44 19 pm
  2. Copy the webhook URL that appears on screen.
  3. Go to the New Applet screen:screen shot 2018-09-16 at 2 52 00 pm
  4. Click on +this and then find and choose the Webhooks service:screen shot 2018-09-16 at 1 04 33 pm
  5. Choose Receive a web request as the Trigger:screen shot 2018-09-16 at 2 43 24 pm
  6. Enter an Event Name and click the Create Trigger button:screen shot 2018-09-16 at 1 06 07 pmYou can use any event name you want. Just remember to kepp that name at hand because we will use it later in the configuration.
  7. Click on +that and then find an choose the Facebook Pages service:screen shot 2018-09-16 at 1 20 40 pm
  8. Choose Create a link post as the Action:screen shot 2018-09-16 at 2 55 38 pm
  9. Click Add ingredient under the Link URL textfield and select Value1:screen shot 2018-09-16 at 2 40 48 pm
  10. Type a message, optionally using ingredientes from the event to customize the content.screen shot 2018-09-16 at 2 39 25 pmThe ValueN ingredientes from the event correspond to the following ad properties:
    • Value1: The URL of the ad.
    • Value2: The title of the ad.
    • Value3: The descriptoon of the ad.
  11. Review your applet and click Finish:screen shot 2018-09-16 at 1 27 14 pm
  12. Go the Facebook Settings on AWPCP and enter the webhook URL from step 2 and the event name from step 6 as the value for the URL used to send requests to IFTTT Webhooks service and The name of the event that will be posted to the Webhooks service settings, respectively:screen shot 2018-09-16 at 2 37 18 pm
  13. Go to the list of ads on the admin dashboard and click the Send to Facebook action for the test ad you created before:screen shot 2018-09-16 at 12 47 39 pm

Update plugin settings

  1. Double check that Zapier/IFTTT Webhooks is selected as the Integration Method.
  2. Enable Send Ads to Facebook Automatically if you want the plugin to send request to the webhook URL automatically.
  3. Enable Ask Facebook to clear cache for ads pages if yoiu want the plugin to ask Facebook to clear the cache it has stored for ads pages before trying to send a request to the webhook URL.

screen shot 2018-09-16 at 11 31 18 am

Was this article helpful?

Yes No

Related Articles

  • Display Tab
  • Classified Admin: Import & Export
  • AWPCP Credit System
  • Classified Admin: Debug
  • Classified Ads: All Classifieds
  • Classified Admin: Categories

10,000+ people can’t be wrong. Try AWP Classifieds today

Want to know more about the best WordPress Classifieds plugin?

See the pricing options or check out our classifieds demo to get a first-hand look.

Download Now Free

Footer

  • Quick Start Guide
  • Documentation
  • Contact
  • Terms of Service
  • Privacy Policy
  • About
  • Blog
  • Affiliates
  • Showcase

Our Brands

  • Formidable Forms
  • Business Directory Plugin

Secrets of Great Classified Sites

Secrets of Great Classified Sites

Find out how to create a compelling, thriving classifieds site from scratch in this ridiculously actionable (and free) 5-part email course.

Another WordPress Classifieds Plugin (AWPCP)

Copyright AWPCP.com
All Rights Reserved