Skip to content
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

[CW-1976] Facebook inbox not grabbing Facebook profile pictures #6761

Open
IlPicasso opened this issue Mar 27, 2023 · 9 comments
Open

[CW-1976] Facebook inbox not grabbing Facebook profile pictures #6761

IlPicasso opened this issue Mar 27, 2023 · 9 comments
Labels

Comments

@IlPicasso
Copy link

IlPicasso commented Mar 27, 2023

As the title says

I setup messenger and enabled Instagram integration too

I am noticing chatwoot is not grabbing Facebook profile pictures for conversations , it is only grabbing Instagram profile pictures. I have all permissions on Facebook granted

I am on chatwoot self hosted Linux VM (Ubuntu) v 2.15

Screenshot_2023-03-24-01-42-15-508_com chatwoot app

CW-1976

@jmelati
Copy link

jmelati commented Apr 1, 2023

Same here. Self hosted linux CW.

@pranavrajs pranavrajs changed the title Facebook inbox not grabbing Facebook profile pictures [CW-1976] Facebook inbox not grabbing Facebook profile pictures May 31, 2023
@einardivision
Copy link

I have the same issue, the avatar from Instagram messages will show up but not for Facebook messenger.
Using self-hosted version in a self-hosted Kubernetes cluster, we are using Minio for S3 bucket storage.

Is there some kind of cache going on? Since we did not have the S3 bucket setup initially, we were using the local storage instead. I had already sent messages to the ChatWoot server before S3 bucket was setup.

Any ideas what I can do to debug it more? I am unable to get the Facebook app verification unless I fix it.

The errors I get in the network tab of the dev tools show that we are trying to access /active_storage/disk/** but for the images that do show up, like the instagram image. That is beiing fetched directly from our Minio server URL

image

@tejaswinichile
Copy link
Contributor

NOTE: I was able to check this issue, we need to update the processing of response JSON for messenger platform. All the latest changes happened for instagram and META updated some webhooks JSON nesting for messenger as well.

@einardivision
Copy link

Is this fixed in version 3?

@einardivision
Copy link

Anything going on here? Is this still a problem or has this been fixed?

@jmelati
Copy link

jmelati commented Nov 4, 2023

Not yet.

@cospin
Copy link

cospin commented Jan 30, 2024

I also have the same issue in a fresh self host. Any news or workarounds?

@sojan-official
Copy link
Member

the team is looking into this

@imtoanle
Copy link
Contributor

imtoanle commented Apr 8, 2024

Hi everyone. I tried to fix this here #9212
It caused this error #6138

sojan-official pushed a commit that referenced this issue May 9, 2024
The ActiveJob FacebookEventsJob created a Contact and then enqueued Avatar::AvatarFromUrlJob in another process. However, since the Contact was created within a transaction when AvatarFromUrlJob was executed immediately afterwards, the Contact was not actually present in the database then.

Fixes: #6138 #6761
clairton pushed a commit to clairton/chatwoot that referenced this issue Jun 13, 2024
)

The ActiveJob FacebookEventsJob created a Contact and then enqueued Avatar::AvatarFromUrlJob in another process. However, since the Contact was created within a transaction when AvatarFromUrlJob was executed immediately afterwards, the Contact was not actually present in the database then.

Fixes: chatwoot#6138 chatwoot#6761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants