[Vtigercrm-developers] vtiger integration with facebook messanger

Sutharsan J ajstharsan at gmail.com
Sat Apr 15 04:35:54 GMT 2023


Hi

You have to determine the authentication, such as user based or single.
Here is the scenario I used with a single account, in this case server to
server
<https://developers.facebook.com/docs/development/create-an-app/server-to-server-apps>
authentication. Note, I did this long ago and FB APIs changes,  so not
sharing code

   1. You may create a vtiger module such as "vtFbMessenger"
   2.

   Create a Facebook App: Create a Facebook Ap
   <https://developers.facebook.com/docs/development/create-an-app>p in the
   Facebook Developer Console. This will allow you to authenticate your app
   and access the Messenger API
   3.

    Web hook : Handle incoming messages: In your PHP application's webhook,
   handle incoming messages from the Messenger API.
   1. Subscribe to the Messenger API: In your app's Messenger settings,
      subscribe to the Messenger API by providing the URL of your PHP
      application's webhook.
      2. Set up a webhook: Create a webhook in your PHP application that
      listens for incoming messages from the Messenger API. When a message is
      received, your webhook will be notified.
   4.

   Sending: You can use the Messenger API to send  messages, and to handle
   user input.
   1. Use an Action under vtFbMessenger module
      2.

      Authenticate your app: Authenticate your app using a Facebook App
      Access Token or a Page Access Token.
      3. Write code to send message

Refer
https://developers.facebook.com/docs/messenger-platform/overview#app-review

Thanks
Sutharsan Jeganathan


On Sat, Apr 15, 2023 at 6:19 AM Rubén A. Estrada Orozco <rulotec1 at gmail.com>
wrote:

> Hi everyone,
>
> A client asked me to integrate FB Messaner to Vtiger, so that vtiger users
> can chat using facebook messenger from within vtiger. Anybody has any
> experience with this? Any ideas on how/where to start?
>
> Saludos
>
> Rubén
> _______________________________________________
> http://www.vtiger.com/



-- 
Development Manager
Radus28 Software Solution
[image: Radus28 Software Solution]
123, Level 2, Mc Larens Building
Baudhaloka Mw.
Colombo 04
Sri Lanka
M : +94773795291
E  : sutharsan at radus28.com
W : www.radus28.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20230415/c9af4603/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_web.png
Type: image/png
Size: 15612 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20230415/c9af4603/attachment-0001.png>


More information about the vtigercrm-developers mailing list