fb-messenger-cli
fb-messenger-cli copied to clipboard
Viewing links with /v shows only small thumbnail in browser
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.
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 any update on this? I worked on something that relates to what you're investigating in #208 and I might be able to help.