dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
6k stars 1.14k forks source link

Media feed items missing original url #767

Closed blackyale closed 5 years ago

blackyale commented 5 years ago

Media feed items used to have the original url of the media in Instagram, this has changed since moved to Typescript, is this an expected behavior? cc: @dilame

dilame commented 5 years ago

I don't quite understand what are you talking bout, anyway no matter JS, TS, Python, Ruby, any_other_lang - instagram api endpoints and it's responses is the same. This lib is just a middleware between your code and http API, it cant guarantee attribute existance in response.

blackyale commented 5 years ago

I was refering to a parameter named 'webLink' I thought it was forgotten in the map of 'UserFeedResponseItemsItem' but it seems that is not returned anymore by Instagram endpoints.

This parameter allowed to know the link on the Instagram web of a certain media, do you know other ways to get it? thanks in advance @dilame

dilame commented 5 years ago

Just try to inspect response values

blackyale commented 5 years ago

OK I think I got it, by using the field 'code', thanks.