Integration of the chatbot with Instagram Direct
Goal
Develop integration of our chatbot service with Instagram Direct using the Instagram Graph API. The integration should provide:
- Receiving messages from Instagram Direct users.
- Sending replies to users via Direct.
The integration should be implemented as a separate module that will work with our API.
Tasks
Authorization
- Implement OAuth authorization to obtain access tokens for the Instagram Graph API.
- Store and ensure the updating of tokens (refresh tokens).
- Check the validity of tokens before each API request.
Receiving Messages
- Implement webhook connection to receive
messagesevents from Instagram Direct. - Configure the transmission of received messages in standard format through our API.
Standard message format:jsonCopy code
{
"message_id": "string",
"sender_id": "string",
"recipient_id": "string",
"timestamp": "ISO8601",
"content": "string",
"type": "text|image|video|attachment"
}
- The webhook must handle the following types of messages:
- Text.
- Images.
- Videos.
- Attachments (documents).
- Implement webhook connection to receive
Sending Messages
- Implement the ability to send messages via Instagram Direct using the API.
- Supported message types:
- Text messages.
- Media messages (images, videos).
- Ensure data transmission from our API in the appropriate format for the Instagram Graph API.
Error Handling
- Implement an error handling mechanism for the API (e.g., authorization errors, limit exceedances).
- In case of errors, log with a detailed description.
Testing
- Provide a test account to demonstrate the integration functionality.
- Verify the correctness of receiving and sending messages, taking into account different content types.
Documentation
- Provide documentation for the module, including:
- Instructions for setting up webhooks and authorization.
- Description of endpoints for integration.
- Examples of requests and responses.
- Provide documentation for the module, including:
Technical Requirements
Instagram API
- Use Instagram Graph API.
- Set up a webhook to handle
messagesevents. - Sending messages must use the endpoint
/{user-id}/messages.
Authorization
- OAuth 2.0 for obtaining tokens.
- Ensure functionality for automatic token renewal.
Data Format
- Received messages are converted to JSON format as described above.
- Responses are transmitted in a format that meets the requirements of the Instagram Graph API.
Programming Languages
- Preferred: Python or Node.js.
- Other languages are also acceptable upon agreement.
Security
- Ensure the use of HTTPS for all requests.
- Encryption of access tokens.
Limitations
- Only Instagram business accounts are supported.
- API limits:
- Maximum number of requests: 200 per hour per token.
Expected Outcome
- Integration module that allows receiving and sending messages via Instagram Direct.
- Documentation for setup and usage.
- Demonstration of the module's functionality on a test account.
Deadline
- Estimated completion time: 14 calendar days from the acceptance of the order.
Budget
this is a preliminary selection of candidates, the most prepared will be provided with our API documentation
- Specify your budget proposals in the application.
-
659 4 0 Good day, I have already left my proposal on 3 of your similar projects, I am ready to take on this one as well, I have experience in developing a similar bot on Instagram.
-
8193 63 1 Good day!
I am ready to provide services for the implementation of a project for integrating chatbots on Instagram Direct through the Instagram Graph API. I look forward to the opportunity to discuss the details and start the collaboration!
-
449 3 1 1 I propose to develop a module for integrating your chatbot service with Instagram Direct, using the Instagram Graph API.
Functionality:
Authorization:
Setting up OAuth 2.0 for obtaining and refreshing access tokens.
Storing and validating tokens.
Receiving messages:
… Setting up a webhook to receive messages events.
Supporting text, images, videos, attachments.
Forwarding received messages in standard format through your API.
Sending messages:
Sending text and media messages via Instagram Graph API.
Formatting data according to API requirements.
Error handling:
Logging errors (authorization, rate limits, etc.).
Providing detailed error information.
Testing:
Demonstrating integration on a test account.
Testing with different types of content.
Instructions for setting up authorization and webhooks.
API description and examples of requests/responses.
Ready to discuss details and start working! 🚀
-
224 1 0 Hello! I am ready to take on your task. I have already worked with Instagram and Facebook chats. I work in Java. All details in private. It is difficult to calculate the budget right now; we need to discuss the project in more detail.
-
1803 31 0 Hello, I am ready to develop.
Write to me in private messages to discuss the details.
-
4524 20 0 Hello!
We are the ITZeyz team, specializing in chatbots using Node.js.
We are ready to implement your project with high quality.
For detailed discussion and assessment of timelines and budget, we will be waiting for your documentation.
Our technical director, with over 8 years of experience, and our team of professional developers and testers will ensure quality execution of the task.
We have implemented many large projects on Node.js as well.
You can view our portfolio at the link:Freelancehunt
We look forward to your response and will be happy to collaborate!
Best regards,
… The ITZeyz team
Current freelance projects in the category Bot Development
Development of a Telegram store for a clothing brand. Product catalog, sizes, cart, order processing.
178 USD
A Telegram channel is needed with a warehouse from the KCRM system, showing stock balances, and full payment to the IBAN account. Bot Development ∙ 3 hours 9 minutes back ∙ 44 proposals |
Software maintenance
111 USD
It is necessary to make adjustments to the software and maintain it in the future; the software places orders based on specified parameters and sends them to a Telegram bot. Python, Bot Development ∙ 22 hours 3 minutes back ∙ 52 proposals |
Telegram bot
269 USD
It is necessary to completely replicate the interface and functionality, but without the payment platform. It needs to be done in a short time. Bot Development ∙ 1 day 19 hours back ∙ 109 proposals |
Automatic video posting on social media according to a scheduleTechnical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes… Python, Bot Development ∙ 1 day 21 hours back ∙ 56 proposals |
Bot for receiving/searching applications
28 USD
In short: Create a bot where users can create and find profiles, the bot should have referral links, etc. Everything is detailed below. Client-side bot: Before the /start button, text in the center of the chat: What can this bot do? Welcome to Sugar Secret Agency! -Premium… Python, Bot Development ∙ 1 day 23 hours back ∙ 61 proposals |