kasperlegarth/instastory.js

User and Hashtag getting error of undefined

mediabouncedev opened this issue · 3 comments

Was working fine and now it will not work with @ or # and getting

Uncaught TypeError: Cannot read property 'hashtag' of undefined
at Object. (instastory.js:159)
at u (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at k (jquery.min.js:2)
at XMLHttpRequest. (jquery.min.js:2)

Uncaught TypeError: Cannot read property 'user' of undefined
at Object. (instastory.js:159)
at u (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at k (jquery.min.js:2)
at XMLHttpRequest. (jquery.min.js:2)

getting errors on demo site as well. https://kasperlegarth.github.io/instastory.js/

It broke and I was able to get around the problem by not using @ or # and just leaving it empty.. now it doesn't work at all. :/

Hi,

I apologize it took me so long to get back to you.
Basically what is happening is your IP been blocked due to many requests. Witch is usually because of the developing process where you reload a lot. I have tried to explain it here: #21

Hope that clarifies things a bit.

Hey @kasperlegarth thanks for the info, I think you are correct. I just double checked and it appears it was due to me being connected on VPN. When I turn off VPN everything works. I implemented a fallback to static Instagram stories if it fails for some reason.