New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Handle instagram direct message images using CDN url #8512
Comments
is this resolved now? |
Not yet! |
Hi @pranavrajs, Do you have any idea if it is possible to resolve this, how was the Instagram story resolved? |
Hello @pranavrajs please add some priority for the fix, story issues CDN solved on v3.4.0 but I also confirm the issue on image messages. Still can't get advance Instagram permits here too. |
Hello all. |
Hi! |
Hi all. This requirement has been added after our last audit of the integration. We are looking into this. |
Thanks @sojan-official |
Hi all. For those who can't wait:
to
Go to ->
|
@DenisKarlyuk would you be interested in turning this into a pull request ? 😇 |
@DenisKarlyuk Thanks for share that solution, we modified this files, and work perfect. |
Please create a Pull Request, that would be very helpfull for everyone who is facing this problem. |
@pelucapampa @sojan-official Has this issue been fixed? I tested it here and even so, after deleting the file, it remained in the chat. Only the adjustment made the goal approved even though the file was maintained? |
@DenisKarlyuk Thank you very much for your contribution! But when I tested the image continues to be stored by rails and displayed within chatwoot even after deletion, can you help please? I wanted to confirm whether even displaying it on the front is possible for approval. |
@DenisKarlyuk Would it be the network url or the HTML url that generates on the front? because on the front it has the rails link, and on the network too, would there be an ideal version for these adjustments to work? So please confirm, what matters is that the link is on Instagram, isn't the message being kept in the chat even after deletion the problem? Thanks!!! |
@Elvner Sorry, I don't remember the version, but if you did everything correctly, it should work. To pass Facebook revision, an Instagram message (regardless of message type: image or text) must be removed from the chatwoot if it has been deleted from Instagram and links to images must be in Instagram CDN format as in the first message |
@DenisKarlyuk you are going to open a PR to fix the problem in chatwoot basecode ? |
@rafaelstelles this is part of how it should be, this is just a hotfix for passing Facebook revision. I can't run chatwoot locally to continue. |
fixes: #8512 Co-authored-by: Denis Karlyuk <[email protected]>
note: added https://github.com/chatwoot/chatwoot/pull/9287/files with the changes from @DenisKarlyuk . We will test and get this merged |
Fixes: #8512 Co-authored-by: Denis Karlyuk <[email protected]> Co-authored-by: Shivam Mishra <[email protected]>
Fixes: chatwoot#8512 Co-authored-by: Denis Karlyuk <[email protected]> Co-authored-by: Shivam Mishra <[email protected]>
@DenisKarlyuk please how do I do this with a Docker installation? |
@tobsowo you should modify the files and than build the docker image using |
@DenisKarlyuk Please, how do I access the file after I gain access to the shell? |
@DenisKarlyuk I just updated to v3.9 and it does not delete messages although this fix is merged into it. |
Describe the bug
I'm on facebook approval process and we passed History Image CDN URL process OK.
Now, facebook says if messege on Instagram Direct, is an image, we need to use Instagram CDN format (A valid CDN URL sample would be https://lookaside.fbsbx.com/ig_messaging_cdn/?asset_id...
)
I check that on my self hosted installation and chatwoot use an internal URL.
When I delete the message on Instagram, chatwoot show "This message was deleted", but not delete the image on conversation.
It's possible change that on code to use the same CDN URL on image, and delete the image for conversation when user deleted on instagram? (Similar Hisstory image functionallity) for obtain finally instagram_manage_message approve?
To Reproduce
1: Login into Instagram, search your account, go to message and send an image message
2: Back to chatwoot, open DevOptions and check de URL for the image.
Expected behavior
No response
Environment
Docker
Cloud Provider
None
Platform
Browser
Operating system
No response
Browser and version
No response
Docker (if applicable)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: