Closed EltonMcJosh closed 3 years ago
Please uncomment line 78 of code:
embed["image"] = {"url":get_last_thumb_url(html)} # unmark to post bigger image
Test script and tell me if new image size is the one you require.
Even this just makes it a square. It takes the thumbnail of the post on Instagram I guess. It doesn't take the whole image that was posted. There are some posts that are of different dimensions. This posts a bigger image but it's just a square. I think a way to get the post from the post link should be added so that the complete image is posted instead of just a square. The square image sometimes cuts a part of the post.
Edit: I figured it out. To get the full-sized photo for the larger image you simply need to type
embed["image"] = {"url":get_last_image_url(html)}
instead of embed["image"] = {"url":get_last_thumb_url(html)}
Thanks for sharing discovery
Please uncomment line 78 of code:
embed["image"] = {"url":get_last_thumb_url(html)} # unmark to post bigger image
Test script and tell me if new image size is the one you require.