fb-messenger-cli icon indicating copy to clipboard operation
fb-messenger-cli copied to clipboard

Viewing links with /v shows only small thumbnail in browser

Open AdamDenoon opened this issue 6 years ago • 2 comments

When I type /v n to view [ link n ], it should open up the destination (full) image in the browser, not just the tiny thumbnail.

AdamDenoon avatar Mar 01 '18 21:03 AdamDenoon

I was digging through the code, and discovered that when client app is downloading attachment object info from messenger, there is no url provided for full image, instead there are 3 separate urls for thumbnail, preview (which is slightly bigger than thumbnail) and large_preview which is again slightly bigger than normal preview, but still its not full size. I tried scrapping https request from messenger website to find url to the full size image, and found /mercury/attachments/photo/?photo_id=<photo_id> endpoint. I don't know yet how to fill the remaining request parameters, so my attempts to get a valid response didn't work. I will try to investigate it further when i find some more spare time.

buyuk-dev avatar Dec 23 '18 22:12 buyuk-dev

@buyuk-dev any update on this? I worked on something that relates to what you're investigating in #208 and I might be able to help.

p1ho avatar May 28 '19 13:05 p1ho