Frost-for-Facebook
Frost-for-Facebook copied to clipboard
Downloading full-size images from posts
I would like to be able to download images from posts in the quality available via the desktop web version of Facebook.
For example, I'd like to be able to download each image from this post (https://m.facebook.com/story.php?story_fbid=2991689560842073&id=100000031755553) in the quality available here after pressing "Download" (https://facebook.com/photo.php?fbid=2991686384175724&set=pcb.2991689560842073).
I appreciate you considering my request. Hope to get a response as to whether the suggested feature is going to be added.
Have you tried long pressing images and opening the native viewer? Single photo posts do also have a link to the full image, so if this is specific to albums, I will take a look and see if higher res links are possible
If you open both links below on a desktop computer and download the image from each page, you'll see that the "full-size" image from the mobile version has a smaller filesize than the one from the desktop version.
Desktop version: https://facebook.com/photo.php?fbid=2991686384175724&set=pcb.2991689560842073
Mobile version: https://m.facebook.com/photo.php?fbid=2991686384175724&set=pcb.2991689560842073
This is maybe related...
When I use 10" tablet (1280x800, portrait orientation, 150ppi density, Acer Iconia One 10 B3-A40) And look at one "test" post with "test" picture:
- the picture is (very) small - less than 1/2 of screen width/height (less than 1/4 of screen area)
- when I "press and hold" picture - the same small picture like 1)
- when I "press and hold" and download - picture size is "320x426"
- when I click/load/open the post - the same small picture like 1)
- when I click "View full size" - picture is big, screen size
- when I click "view full size" and download - picture size is "1536x2048"
When I use my 5.5" phone (1920x1080, portrait orientation, 400 ppi density, OnePlus 3T) And look at the same "test" post (like above), the same "test" picture:
- the picture is nice and big, it takes almost full screen, I can see all details
- when I "press and hold" picture - picture is bigger, picture width is equal to screen width
- when I "press and hold" and download - picture size is "843x1124"
- when I click/load/open the post - like 1) above
- when I click "View full size" - like 2) above
- when I click "view full size" and download - picture size is "1536x2048"
Looks like something is wrong. With 10" tablet I see smaller pictures. It is hard/slow to get "bigger picture" with more details - few clicks away (plus waiting for page download).
Just as an update, it is one of my higher priorities to increase the resolution of images and videos. It's just a matter of finding a good way of getting the higher res link from what the mobile site provides. For the most part, I extract the id and attempt to load the page on desktop, but more investigation will need to be done
Just as an update, it is one of my higher priorities to increase the resolution of images and videos. It's just a matter of finding a good way of getting the higher res link from what the mobile site provides. For the most part, I extract the id and attempt to load the page on desktop, but more investigation will need to be done
hi , any update regarding hd video ?
At the time, I believe I did some investigation for HD images. Frost should attempt to load something with higher resolution, while using what's in the newsfeed as a placeholder. I don't think I had the same luck with videos, though I believe I've seen other clients that had it. The fix also involved using multiple user agents, and after having some problems with banned accounts, I forwent any functionality requiring multiple agents.
For example, I'd like to be able to download each image from this post (https://m.facebook.com/story.php?story_fbid=2991689560842073&id=100000031755553) in the quality available here after pressing "Download" (https://facebook.com/photo.php?fbid=2991686384175724&set=pcb.2991689560842073).
I just tested downloads of this photo using Frost (3.1.2) and Firefox (96) on desktop. Both download image with the same filename 81351255_2991686394175723_4387581522639585280_n.jpg
in 1280x960 resolution but different in size: Frost 255 KiB, Firefox 330 KiB
I checked JPEG quality parameter using
gm identify -format '%Q' 81351255_2991686394175723_4387581522639585280_n.jpg
resulting in 65 for Frost and 75 for Firefox.
Edit: for other image I got different surprising quality numbers which makes me think above command might be unreliable