Giter VIP home page Giter VIP logo

mauticfbadsleadadsbundle's Introduction

MauticFBAdsLeadAdsBundle

Enables synchnronization of Facebook Lead Ads as leads into Mautic.

Development was sponsored by Trinoco for the Qeado project.

Installation

  1. Require the FB ads library in the Mautic root directory composer require facebook/php-ads-sdk:2.9.*

The library has been tested on 5.6 to also work so if you get requirements errors try: composer require --ignore-platform-reqs facebook/php-ads-sdk:2.9.*

  1. Create a new Facebook App or use an existing one: https://developers.facebook.com/apps/

  2. Visit the app Dashboard page and store the app_id and app_key for later use.

  3. Add the Marketing API Product.

  4. Visit the Marketing API -> Tools page in your app and check the scopes and hit Get Token. Store this access_token for later use.

  5. Go into your Facebook Ads account management and get your ad account id.

  6. Enable the plugin and enter your app_id, app_secret, Marketing API access_token, ad account id and choose a verify token.

  7. Authenticate the app using oAuth.

  8. In the plugin settings map the fields to your contact lead fields.

  9. Enable the webhooks Product in your Facebook App.

  10. Go to the webhooks product in your Facebook APP and add your subscriber to the 'page' event: url: $YOURHOST/plugin/fbadsleadads/leadform_subscriber verify_token: Token you choose in step 7.

  11. In your Facebook App Review add the manage_pages scope for review.

mauticfbadsleadadsbundle's People

Contributors

rmuilwijk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mauticfbadsleadadsbundle's Issues

Can't authorize App

I think FB has made a silent update or it's not supporting the SDK 2.9 anymore. It gives me this error:

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

I'm pretty sure I did everything right, but it still isn't working.

image

Stuck in step 1 :(

I'm turning crazy trying to understand this:

"Require the FB ads library in the Mautic root directory composer require facebook/php-ads-sdk:2.9.*"

Where can I find Fb Ads Library. I have searched in google and github but I haven't found a confidence result.

Thanks!

Stuck in Step 7

I am stuck in step 7. The Facebook plugin I have in Matic only has ClientID and Client Secret. No Marketing Token.

Site whent ofline

Hi,
everytime i run composer require --ignore-platform-reqs facebook/php-ads-sdk:2.9.* mautic stops work.

Stuck here, can you help?

Not able to Authorize App

When I click on Authorize App the popup opens with one mautic offline page that says:
"The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator."

In logs I get this error
[2017-08-31 08:57:16] mautic.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'FacebookAds\Api' not found - in file /home/XXXXX/public_html/MAUTIC/plugins/MauticFBAdsLeadAdsBundle/Integration/FBAdsLeadAdsIntegration.php - at line 132 [] []

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.