On instagram it is now possible to create posts with multiple images. Currently these multiple image posts are not supported by media_entity_instagram module.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | support_for_instagram-2866960-5.patch | 675 bytes | chr.fritsch |
| #3 | media_entity_instagram-support_multiple_images_posts-2866960-3.patch | 1.85 KB | it-cru |
Comments
Comment #2
it-cruFollowing error occurs when I try to add an instagram post with multiple images.
Instagram Post with multiple images: https://www.instagram.com/p/BTHtADKFLkm
Perhaps this problem only is produced from thumbnail generation.
Comment #3
it-cruProblem is the returned instagram 'thumbnail_url' from embed request for multiple images posts. This URL returns always an error.
URL with Error: https://scontent-ams3-1.cdninstagram.com/t51.2885-15/s612x612/e35/176633...
URL without Error: https://scontent-ams3-1.cdninstagram.com/t51.2885-15/e35/17663356_218115...
Instead of using this URL and try to remove size info from URL we grep thumbnail image from direct thumbnail image request with this patch.
Perhaps we should always use this fallback thumbnail image URL for getting our instagram thumbnail images? Size is much smaller then normal images and we need less storage for our thumbnails.
Comment #4
it-cruComment #5
chr.fritschI am with you @IT-Cru. We should just always grab the image from these thumbnail url.
I changed it to ?size=m. The images are a little bit larger as ?size=t, but not as big as before.
Comment #6
tjwelde commentedTested. works good.
Comment #7
tjwelde commentedComment #9
chr.fritschCommitted and pushed. Thanks everyone
Comment #10
bkosborneHmm why http and not https?