[18.0][ADD] mail_gateway_instagram: add DM gateway #1908
@etobella @josep-tecnativa @jelenapoblet (why not 😄 )
Nice work!
I cannot check it functionally, but technically looks Ok. About the limit of 24 hours, something similar applies to whatsapp, so it should make sense to add the functionality on general.
Also, the code is quite similar to whatsapp, it is clear that both of them belong to meta.
Also, the code is quite similar to whatsapp, it is clear that both of them belong to meta.
Thank you! I was actually thinking about extracting shared method to a special
mail_gateway_meta module so it could be used as a shared foundation for all the Meta service implementations. However this is not for now, can be done later.> Also, the code is quite similar to whatsapp, it is clear that both of them belong to meta.
> Thank you! I was actually thinking about extracting shared method to a special mail_gateway_meta module so it could be used as a shared foundation for all the Meta service implementations. However this is not for now, can be done later.
No need to do this for now. I just shared my surprise, but for now, I think that the effort is not necessary.
Functional LGTM.
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
hey @OCA/social-maintainers would appreciate this module review and merge - this will unblock some new features following up 😄
/ocabot merge nobump
/ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-1908-by-pedrobaeza-bump-nobump, awaiting test results.
@pedrobaeza The merge process could not be finalized, because command twine upload --disable-progress-bar --non-interactive --repository-url https://upload.pypi.org/legacy/ -u __token__ odoo_addon_mail_gateway_instagram-18.0.1.0.0.2-py3-none-any.whl failed with output:
Uploading distributions to https://upload.pypi.org/legacy/
Uploading odoo_addon_mail_gateway_instagram-18.0.1.0.0.2-py3-none-any.whl
[33mWARNING [0m Error during upload. Retry with the --verbose option for more details.
[31mERROR [0m HTTPError: 429 Too Many Requests from https://upload.pypi.org/legacy/
Too Many Requests
Uhm, curious that if we didn't push anything new during last day, the rate limit in PyPi is exhausted... @sbidoul can you please reserve the name?
Name reserved.
/ocabot merge nobump
What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-1908-by-pedrobaeza-bump-nobump, awaiting test results.
Congratulations, your PR was merged at e3644053ef27d02196988c4d330b3dd90f862e0d. Thanks a lot for contributing to OCA. ❤️
etobella
ivs-cetmix
Instagram messages in your chatter.
mail_gateway already routes public webhooks into Discuss channels, but only Telegram and WhatsApp are implemented. This module adds an Instagram Login connector so professional-account DMs become Discuss threads and replies are sent back as Instagram text.
NB: AI assistance was used for development (why not? 😄 ) however the code was checked manually to ensure it meets the OCA code quality standards.
Task 5591