What is the right architecture to choose for implementing and connecting to Instagram Direct Messaging?

Viewed 22

I have a crm system which is written in client server architecture using next js and python fast api. Now I want to add communication tools there for my clients, where they can add their instagram, facebook and whatsapp accounts and receive notification messages and so on. That is, their chats will be in my CRM system. Now the question is whether you need to create your own api that communicates with the graph api of the messenger and then create your own web hook for your front-end application, or you can immediately send direct requests to the graph api of the messenger from the front-end. Could you tell me how to implement this logic correctly and better? Maybe there are examples?

0 Answers
Related