Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Chatwoot - authenticating with facebook

    Chatwoot
    6
    15
    572
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mdreira
      mdreira translator last edited by

      Hi guys!

      When I start to configure facebook messenger as an inbox in chatwoot, I get the message:

      Authenticating with facebook... https://prnt.sc/VnCqoa9H53RM

      But it never manages to connect with facebook.

      Thank you

      jdaviescoates murgero 2 Replies Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @mdreira last edited by

        @mdreira have you already tried turning off browser plugins and/ or tring in a private/ incognito tab?

        I use Cloudron with Gandi & Hetzner

        mdreira 1 Reply Last reply Reply Quote 0
        • mdreira
          mdreira translator @jdaviescoates last edited by

          @jdaviescoates yes.

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            are there any errors in the app logs or failing requests in your browser?

            subven 1 Reply Last reply Reply Quote 0
            • subven
              subven @nebulon last edited by

              Nothing related to CSP headers either mmh?

              Check the logs and post the output while runnig the request.

              1 Reply Last reply Reply Quote 0
              • murgero
                murgero App Dev @mdreira last edited by

                @mdreira Did you setup the Facebook developer app for your domain? You gotta do that first.

                https://www.chatwoot.com/docs/self-hosted/configuration/features/integrations/facebook-channel-setup

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~
                Matrix: @murgero:urgero.org

                mdreira 1 Reply Last reply Reply Quote 1
                • mdreira
                  mdreira translator @murgero last edited by

                  @murgero No I didn´t

                  Ok, tomorrow I'll try to.

                  Thank you!

                  1 Reply Last reply Reply Quote 1
                  • mdreira
                    mdreira translator last edited by mdreira

                    Hi!

                    I've already done it.

                    I have created an app on Facebook and I have put the 3 environment variables in the "env" folder (I don't know if I have to put the access token as well).

                    After restarting the chatwoot app in cloudron, I try again to create the inbox with FB Messenger.

                    This is what happens: https://share.getcloudapp.com/bLu5192B

                    A connection window opens and stays there. I don't know what I did wrong, it's a bit hard to get this up and running.

                    I don't see any errors in the application logs.

                    The Facebook app may need to be approved by them. I'm not sure if it's active.

                    murgero 1 Reply Last reply Reply Quote 0
                    • Moved from Support by  girish girish 
                    • murgero
                      murgero App Dev @mdreira last edited by

                      @mdreira Access token is probably required, I don't use the app so I'm not 100% sure, but there are 3 variables to change (which by your posted you changed.)

                      Can you disable ad-blocker and try?

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~
                      Matrix: @murgero:urgero.org

                      mdreira 1 Reply Last reply Reply Quote 0
                      • mdreira
                        mdreira translator @murgero last edited by mdreira

                        @murgero I use the Brave browser and have adblockers disabled for all our domains.

                        Just in case, I've also put this inside the "env" folder:
                        FB_ACCESS_TOKEN={token here}

                        But it's not working either.

                        Does the Fb app have to be accepted by them?

                        jdaviescoates murgero 2 Replies Last reply Reply Quote 0
                        • jdaviescoates
                          jdaviescoates @mdreira last edited by

                          @mdreira said in Chatwoot - authenticating with facebook:

                          Does the Fb app have to be accepted by them?

                          Probably.

                          I tried to get access to Twitter API to test it with Chatwoot and they wouldn't give it to me which was very frustrating. Wouldn't tell me why, either (but I think I may try again quote EU law that requires them to be clear - something I learned from the guy who makes the awesome FairEmail and his woes with Google Play Store)

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 1
                          • murgero
                            murgero App Dev @mdreira last edited by

                            @mdreira Did you configure the facebook developer app to accept your domain? This is required to access the API

                            --
                            https://urgero.org
                            ~ Professional Nerd. Freelance Programmer. ~
                            Matrix: @murgero:urgero.org

                            mdreira 1 Reply Last reply Reply Quote 1
                            • mdreira
                              mdreira translator @murgero last edited by

                              @murgero Are you referring to the app basic configuration where it asks for the domain of the app? If so, then yes.

                              1 Reply Last reply Reply Quote 0
                              • mdreira
                                mdreira translator last edited by

                                Has anyone successfully set up fb messenger on chatwoot?

                                On the other hand, I have managed to configure telegram. I put the telegram bot in different groups but I don't receive the conversation in Chatwoot. I'm going to have to look deeper how to use the telegram bot with Chatwoot 🙄

                                girish 1 Reply Last reply Reply Quote 0
                                • girish
                                  girish Staff @mdreira last edited by

                                  @mdreira Don't know about facebook, but we did manage to configure telegram with chatwoot just the other day.

                                  I remember that first time we set it up things didn't work. Then we re-setup the channel in botfather and it started working. You can also check the chatwoot logs which shows some activity. There is also a telegram bot command which shows that chatwoot has "registered" as a web hook. @nebulon probably remembers the command.

                                  1 Reply Last reply Reply Quote 2
                                  • First post
                                    Last post
                                  Powered by NodeBB