sbertix / Swiftagram

A modern Swift wrapper for Instagram Private API.
Apache License 2.0
249 stars 35 forks source link

error when trying to get media from a copied link from a private account #294

Closed olegjunios closed 2 years ago

olegjunios commented 2 years ago

if i try paste link from public account - function worked (public account url: https://www.instagram.com/p/CZ1X_PVorS4/ ) if i paste link from private account - i getting this error: (private account url: https://www.instagram.com/p/CXdy1B-oDnSqOYMQ5fGdSgsHOBwzsdUehXouis0/)

maybe it happened after a different number of characters after "p/"

how i can fix it? have any ideas?

Снимок экрана 2022-03-11 в 10 30 53
sbertix commented 2 years ago

Hey @olegjunios,

Sorry for the late reply. Unfortunately I haven't really found a work around for this, so I'm planning on removing this method from 6.0.0, being, also, strictly speaking not part of the Instagram Private API (it's more of an accessory).