Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instagram.getPostData not work as expected #39

Open
orinu opened this issue Feb 16, 2022 · 10 comments
Open

instagram.getPostData not work as expected #39

orinu opened this issue Feb 16, 2022 · 10 comments

Comments

@orinu
Copy link

orinu commented Feb 16, 2022

On the example code, the output of the PostData is:

"InstagramGenericError: No post with CUc7tBPFXvP as shortcode could be found"

@MohitSinghChauhan
Copy link

also experiencing same issue

No post with CMmpeV3LXsWpzRplL095e9-mFSwbxistPQiUTk0 as shortcode could be found.
    at c:\Users\MI\Desktop\MyProj\node_modules\user-instagram\src\Instagram\Infrastructure\InstagramRepository.js:177:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

@EdouardCourty
Copy link
Owner

Hi, i'm checking this out and will reply with more details soon

@saltoriousSIG
Copy link

Hello, also experiencing the issue listed above

@aguwf
Copy link

aguwf commented Apr 3, 2022

+1

@mehran-mojdeh
Copy link

mehran-mojdeh commented May 2, 2022

UnableToFetchPostDataError: An error occured while fetching post data for shortcode [Legit ShortCode]. Maybe this post does not exist ?
at Function.fromShortcode (.../src/Exceptions/UnableToFetchPostDataError.js:7:12)

@tegarkurniawan
Copy link

+1

2 similar comments
@sblbl
Copy link

sblbl commented Jun 7, 2022

+1

@rodas7865
Copy link

+1

@rodas7865
Copy link

rodas7865 commented Jun 29, 2022

I found out that during the request, the data of the post was in data.items and not in data.graphql. It seems the request is getting the data successfully but because the property ''graphql" doesn't exists, it's throwing the error.

Hope this helps

@EdouardCourty
Copy link
Owner

Hello there.
It seems like Instagram changed the format of their responses, I'll be updating this asap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants