Facebook Messenger Sending Metadata (android)
I'm following this guide to create an app which sends an image to Facebook messenger. String mimeType = 'image/png'; Uri contentUri = Uri.parse('android.resource://com.test.test/dr
Solution 1:
Ok so here's the workaround for those having the same problem.
If an app posts a same image to Facebook Messenger multiple times, the Messenger treats all but the first image as duplicates and doesn't attach the metadata. (There's an eventual timeout but can't care less to figure out the exact duration)
My workaround is as follows: Every time your app posts to the messenger, make it place a random pixel in a random location to make sure the image's signature changes. I haven't tried but I think changing the alpha value of a pixel will work better in terms of making it less conspicuous to the users.
Solution 2:
Yes, I can confirm that using a different image everytime does fix this issue.
Post a Comment for "Facebook Messenger Sending Metadata (android)"