Mautic Facebook Leads Integration Using Forms

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 96

  • @wdp021
    @wdp021 7 лет назад +1

    Hello Mounir, everything working fine. Thanks a lot for this video!!!

  • @AndrewChildsza
    @AndrewChildsza 7 лет назад +1

    Thanks for this! Works perfectly.

    • @AndrewChildsza
      @AndrewChildsza 7 лет назад

      Is it possible to specify additional field variables? Eg: Country, City...

    • @MounirQa
      @MounirQa  7 лет назад +1

      Yes you can you well have to add the desired field in your facebook form and edit webhook-forms.php to retrieve the data from your field and send it to Mautic.
      Example: after line 29 add $lead_city = $data['field_data'][0][values][3]; and after line 38 add $data['city'] = $lead_city;

    • @MounirQa
      @MounirQa  7 лет назад +1

      don't forget to add city to your Mautic form as well

    • @AndrewChildsza
      @AndrewChildsza 7 лет назад

      Please may I have some way of contacting you directly? I'd like to ask some questions.

    • @MounirQa
      @MounirQa  7 лет назад

      What is your skype id?

  • @AlejandroGuerrero
    @AlejandroGuerrero 7 лет назад

    Wonderful video. Thanks. I'll try this weekend!

  • @AhmedRaza-ll5yv
    @AhmedRaza-ll5yv 5 лет назад

    The last section of the video where you created a test lead to check the implementation (16:53) that doesn't work now when I click the track status it says there Server Failure error code 102

    • @MounirQa
      @MounirQa  5 лет назад +1

      I didn't try this for a long time so i am not sure if it still works. Try to troubleshoot the error you might get an answer.

    • @AhmedRaza-ll5yv
      @AhmedRaza-ll5yv 5 лет назад +1

      Mounir Q thanks mate I searched the internet for the error and found that Facebook doesn’t allow test lead when your app is in development mode which is weird I will post the link to that stackoverflow issue later I am on phone right now.

    • @MounirQa
      @MounirQa  5 лет назад

      Ok cool 👍 thank you for sharing the information

  • @CarlosMelero
    @CarlosMelero 6 лет назад

    Is it still working?
    I get this error in 14:50
    Manage_pages permission has been revoked for the app

    • @DouglasSampaio89
      @DouglasSampaio89 6 лет назад

      Same here.
      Did you manage to correct this error?

    • @CarlosMelero
      @CarlosMelero 6 лет назад

      I guess it's not working. I got no answer

    • @DouglasSampaio89
      @DouglasSampaio89 6 лет назад

      @@CarlosMelero I think I just found a solution. I guess you need to send your app to review, and check the manage_pages option. On your developer page, there's a review option. You need to accomplish some requirements and can send.
      If I receive a response I'll let you know if it worked.

    • @CarlosMelero
      @CarlosMelero 6 лет назад

      Thanks!
      I will be attentive to your answer.

    • @jailsonsilva5484
      @jailsonsilva5484 6 лет назад

      In fact, ignore this error .. just copy an ID page, and go to the next step
      Consegui!! >>>> developers.facebook.com/docs/facebook-login/access-tokens/?locale=pt_BR#pagetokens

  • @z.m.4331
    @z.m.4331 4 года назад

    For the ones getting the "Invalid scope: manage_pages" error, just do a POST request manually through the Graph Explorer (to "(page_id)/subscribed_apps" passing the parameter "subscribed_fields: leadgen"
    Be sure to select the correct dropdown fields shown in the video to first generate the app and page access token
    PD: in platform.php I also changed "version" to the current Graph Explorer version (right now it's 'v7.0')

  • @lucasmarzullomendes136
    @lucasmarzullomendes136 7 лет назад +1

    Congrats, I made it and worked like a charm. Thank you very much for your time doing this integration and video.
    In your opinion, which method to integrate Facebook Leads you prefer (API x Forms) ?
    In your thoughts, what is the main diferences between using this way (using forms) in comparison to the other (using api)? I seems to me that using forms I can work with segmentation and also create different campaigns. Am I right?
    I did not try to run the API way since this is working perfectly.
    Thank you again.
    Best wishes,
    Lucas Mendes
    Brazil.

    • @MounirQa
      @MounirQa  7 лет назад +1

      Lucas Marzullo Mendes I think using forms is much better because you can create campaigns based on this forms and start interacting with leads from the moments you receive them.

    • @lucasmarzullomendes136
      @lucasmarzullomendes136 7 лет назад

      Perfect!!!
      Thank you!!!

    • @TheNatMarques
      @TheNatMarques 5 лет назад

      Oi, Lucas. Você já viu as integrações da Pluga com Mautic + Facebook Lead Ads? Talvez te ajude. Segue o link: pluga.co/automatizacoes/facebook_lead_ads-mautic-novo-contato-criar-atualizar-contato/. 😊

  • @DabitAlarconRivera
    @DabitAlarconRivera 7 лет назад +2

    Sucess !!! Ty

    • @AlejandroGuerrero
      @AlejandroGuerrero 7 лет назад

      David tenemos grupo en FB de Mautic en Español.. búscanos! saludos.

  • @johnwellington269
    @johnwellington269 5 лет назад +1

    hi thx tons for the videos. do you happen to know any plugin that can integrate with mautic and facebook, google api one click login/ registration pls?

    • @TheNatMarques
      @TheNatMarques 5 лет назад

      Hi, do you know Pluga? Look at this integration: Facebook Lead Ads + Mautic. Link: pluga.co/automatizacoes/facebook_lead_ads-mautic-novo-contato-criar-atualizar-contato/.
      I hope I have helped in some way. ;)

  • @КоляРакета
    @КоляРакета 7 лет назад +1

    Hello! With test leads works fine, but real leads come with empty data. What could be the problem?

    • @КоляРакета
      @КоляРакета 7 лет назад +1

      Unsupported get request. Object with ID '**************' does not exist, cannot be loaded due to missing permissions, or does not support this operation.

  • @layongarcia9045
    @layongarcia9045 7 лет назад

    Thanks for this Mounir! Awesome work. How should I proceed if I want to integrate more than one form from different pages? Is this possible or this is limited to one form?

    • @MounirQa
      @MounirQa  7 лет назад

      Yes you can duplicate webhook-forms.php and name it something else and follow same steps to connect it to one of your mautic forms. and subscribe new facebook page that you will use with it.

  • @AhmedRaza-ll5yv
    @AhmedRaza-ll5yv 5 лет назад

    Video is outdated when you go to the platform.php to subscribe to the page you get error (open the browser console and go to networks and monitor the subscription request) it returns this error message: (#100) The parameter subscribed_fields is required.

    • @AhmedRaza-ll5yv
      @AhmedRaza-ll5yv 5 лет назад

      I have found the issue, when you make login request you have to add ‘lead_retrieval’ (check the spells please) to the scopes object. Basically the peoblem is you need to pass the lead retrieval permission in the login request.

    • @sidhantverma7093
      @sidhantverma7093 5 лет назад

      Hello i can integrate your mautic with facebook contact me @ sidhantverma.93@gmail.com

  • @lucasmarzullomendes136
    @lucasmarzullomendes136 7 лет назад

    Dear @Mounir Q, in your video and also in my Lead Test the "" is in the "Last Name" field. Also the is in the "First name" field. I tried to invert it without success.

    • @lucasmarzullomendes136
      @lucasmarzullomendes136 7 лет назад

      I don't know what happened. After I saw this error, I edited the webhook-forms.php to change the sequence number you explained in the end of the video. The error persisted. I changed back to the original sequence and fixed. Crazy. But it is working with the same sequence you uploaded (not the one presented in the video). I am sharing here if someone has the same error.
      $lead_first = $data['field_data'][1][values][0];
      $lead_last = $data['field_data'][2][values][0];
      $lead_email = $data['field_data'][0][values][0];
      Thank you again.
      Best wishes,
      Lucas

    • @MounirQa
      @MounirQa  7 лет назад

      Lucas Marzullo Mendes
      try this:
      $lead_first = $data['field_data'][1][values][0];
      $lead_last = $data['field_data'][2][values][0];
      $lead_email = $data['field_data'][0][values][0];

    • @lucasmarzullomendes136
      @lucasmarzullomendes136 7 лет назад +1

      Thank you Mounir Q. That was exactly what I made. I don't know why it didn't work in the first time. But it's perfect now. Thank you again.

  • @krystianjurkowski2494
    @krystianjurkowski2494 7 лет назад

    Hi Mounir, did all the steps you mentioned in video to precision, but no test leads coming through to Mautic form.. Could you help? Feel free to message me if needed. Thanks!

    • @MounirQa
      @MounirQa  7 лет назад +1

      Hi Krystian, what is your skype ID?

    • @krystianjurkowski2494
      @krystianjurkowski2494 7 лет назад

      krystian.jurkowski1, I'm having an issue with getting the email to come through specifically, the rest is coming through!

    • @MounirQa
      @MounirQa  7 лет назад

      what is your Skype ID i will help you debug the problem

    • @krystianjurkowski2494
      @krystianjurkowski2494 7 лет назад

      krystian.jurkowski1

  •  7 лет назад

    Hey @mounir I've managed to get everything up and running. Facebook Test leads gets into mautic without any hassle, but when I run the ads I get none of the leads in mautic. Any suggestion where to look into?

    • @MounirQa
      @MounirQa  7 лет назад

      Goran Ćulibrk Create your Facebook ads on the same page you subscribed to.

    •  7 лет назад

      I did, does this script has problems with expiration of tokens as well or not? Maybe that's the problem?

  • @jonoperl3581
    @jonoperl3581 7 лет назад

    Hi, I have multiple Mautic forms, can you connect multiple Mautic forms to different facebook lead ads, For example connect 3 facebook leads ads to 3 different Mautic forms? Cheers

    • @MounirQa
      @MounirQa  7 лет назад

      Jono Perl yes you can duplicate webhook-forms.php and name it something else and follow same steps to connect it to one of your mautic forms.

    • @jonoperl3581
      @jonoperl3581 7 лет назад +1

      Awesome, that sounds great. Thanks :)

    • @betald4840
      @betald4840 6 лет назад

      Could you also contact us for help with the new FB 3 api connection please

  • @madruck1
    @madruck1 5 лет назад

    Hello, we are trying to set up but not working at our end. Is this plug in updated for Facebook changes of 2019? Thanks

    • @sidhantverma7093
      @sidhantverma7093 5 лет назад

      Hello i can integrate your mautic with facebook contact me @ sidhantverma.93@gmail.com

  • @wildmanmike100
    @wildmanmike100 7 лет назад

    Hi Mounir, great video! Can you do it with hosted version of Mautic? No sure how to edit webhooks.php

    • @MounirQa
      @MounirQa  7 лет назад +1

      wildmanmike100 yes you can just host the files in any hosting or vps that support PHP

    • @wildmanmike100
      @wildmanmike100 7 лет назад

      Hey thanks it worked! But do I repeat the same process for each form/page?

    • @MounirQa
      @MounirQa  7 лет назад +1

      wildmanmike100 yes for now that's what you need to do. if I have some time maybe in the future I'll make it easier where you can attach and subscribe to many forms with the same file

    • @wildmanmike100
      @wildmanmike100 7 лет назад

      Mounir Q that's brilliant. Final question. ...the access token needs to be updated?

    • @MounirQa
      @MounirQa  7 лет назад

      wildmanmike100 check on other comments someone showed how to make the token never expire. just follow the instructions and you need to update it once.

  • @luizamanhaes6431
    @luizamanhaes6431 7 лет назад

    My status doesn't change from "pending". Any ideia of what could be?

    • @MounirQa
      @MounirQa  7 лет назад

      i have no idea its something that you have to contact Facebook about try also to send the lead test in different time

    • @luizamanhaes6431
      @luizamanhaes6431 7 лет назад

      Ok, thank you and congrats on the video!

    • @MounirQa
      @MounirQa  7 лет назад

      you're welcome!

  • @eliezerpassos2291
    @eliezerpassos2291 6 лет назад

    Olá muito bom seu vídeo, vai nos ajudar muito, no entanto fiz todo procedimento mas quando crio o lead test no Facebook ele vem apenas um campo e geralmente onde esto o numero dois! Por Exemplo:
    $lead_first = $data['field_data'][1][values][0];
    $lead_last = $data['field_data'][2][values][0];
    -> apenas este campo aparece no formulário do Mutic!
    $lead_email = $data['field_data'][0][values][0];
    qual será o problema? de onde vem estes números eles são referente a que ? onde posso verifica-los?

    • @morpheussapiens-amans867
      @morpheussapiens-amans867 6 лет назад

      Veja o video em 15:45
      O certo é :
      2
      1
      0
      Isso tem q estar de acordo com teu form. Vc tem q testar (y) mas ele mesmo corrigiu o problema e compartilhou com a gente.
      $lead_first = $data['field_data'][1][values][0];
      $lead_last = $data['field_data'][2][values][0];
      -> apenas este campo aparece no formulário do Mutic!
      $lead_email = $data['field_data'][0][values][0];

  • @telenewslimited1836
    @telenewslimited1836 4 года назад

    5:44-> Haver error: {
    "error": {
    "message": "(#2200) Callback verification failed with the following errors: HTTP Status Code = 403; HTTP Message = Forbidden",
    "type": "OAuthException",
    "code": 2200,
    "fbtrace_id": "A5VBn4NUJLqLW6gDsK9W8cN
    "
    }
    }

  • @haiqalarshad9581
    @haiqalarshad9581 7 лет назад

    Hello there, thanks for your video.
    When I run the Lead Ads Test, it is a failure with error code 699 and error message :OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
    Could you help me with this?

    • @MounirQa
      @MounirQa  7 лет назад

      make sure you host your PHP file on a secure server and access the files via

    • @haiqalarshad9581
      @haiqalarshad9581 7 лет назад

      Thanks for your reply. My host was on secured sever with SSL certificate. By the way, it still works which I received the leads but each lead was tripled in the mautic form. May I know how to solve this?

  • @telenewslimited1836
    @telenewslimited1836 4 года назад

    not works

  • @architjoshi7230
    @architjoshi7230 7 лет назад

    when accessing webhook-forms.php or anyother facebook file using url it gets downloaded and facebook graphapi is returning
    {
    "error": {
    "message": "(#2201) response does not match challenge, expected value=\"1075217836\", received=\"\u003C?php
    \/\/ facebook va...\"",
    "type": "OAuthException",
    "code": 2201,
    "fbtrace_id": "CGjqkdF0EL7"
    }
    }
    any idea how to resolve it?

    • @MounirQa
      @MounirQa  7 лет назад

      if the webhook-forms.php get downloaded its because you have a problem with your server. your server don't process php files as PHP.

  • @mehulinnowyn8192
    @mehulinnowyn8192 6 лет назад +1

    Getting error
    can you please check this ?
    "
    Invalid Scopes: manage_pages. 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: developers.facebook.com/docs/facebook-login/permissions "
    Here is the screenshot prntscr.com/jnhauh

    • @danillorios
      @danillorios 6 лет назад

      same here... could you help us Mounir please? :-)

    • @ThiagoPortoTP
      @ThiagoPortoTP 4 года назад

      @@danillorios manage_pages_ads

  • @orlandoeconomico
    @orlandoeconomico 5 лет назад

    Keep getting the error below when logging in with fb:
    Invalid Scopes: manage_pages. 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: developers.facebook.com/docs/facebook-login/permissions

    • @bobbyblack355
      @bobbyblack355 5 лет назад

      turn on developer mode

    • @sidhantverma7093
      @sidhantverma7093 5 лет назад

      Hello i can integrate your mautic with facebook contact me @ sidhantverma.93@gmail.com

  • @ginopacitti2416
    @ginopacitti2416 6 лет назад

    I am trying to get this working - thanks very much for you time BTW - but I get an error when I click the login button - Invalid Scopes: manage_pages. 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: developers.facebook.com/docs/facebook-login/permissions - Any help?

    • @ginopacitti2416
      @ginopacitti2416 6 лет назад

      Actually ignore this.. it was using an app with other permissions and so it was getting confused... resolved now..

    • @ginopacitti2416
      @ginopacitti2416 6 лет назад

      What you do need though is permissions for manage_pages which requires going through FB verification for permissions.

  • @dmacontop
    @dmacontop 7 лет назад

    Thanks for the tutorial I'd love to learn more and ask further questions s.k.y.p.e ID dmac_ontop. Keep on inspiring

  • @AlejandroGuerrero
    @AlejandroGuerrero 7 лет назад

    Wonderful video. Thanks. I'll try this weekend!