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

Profile #1 : Unable to extract JSON data #291

Open
WallisonBreno opened this issue Jun 2, 2022 · 12 comments
Open

Profile #1 : Unable to extract JSON data #291

WallisonBreno opened this issue Jun 2, 2022 · 12 comments

Comments

@WallisonBreno
Copy link

I've been getting this error when i use the getProfile function, has nothing to do with cache or authenticity of the account

@pgrimaud
Copy link
Owner

pgrimaud commented Jun 2, 2022

Hey, could you try to update to v6.15.0 version. Instagram made some changes and I (hopefully) fixed it this morning.

@RoseGoli
Copy link

RoseGoli commented Jun 2, 2022

hi
i have such same errors on posts data fetch from :

pgrimaud/instagram-user-feed/src/Instagram/Transport/AbstractDataFeed.php
Syntax error on line 61!

@pgrimaud
Copy link
Owner

pgrimaud commented Jun 2, 2022

hi

i have such same errors on posts data fetch from :

pgrimaud/instagram-user-feed/src/Instagram/Transport/AbstractDataFeed.php

Syntax error on line 61!

Did you tried to upgrade to 6.15?

@RoseGoli
Copy link

RoseGoli commented Jun 2, 2022

yes i do this the getBody result : for (;;);{"redirect":"https://www.instagram.com/p/Cc-wIYPDhUt/"}

hi
i have such same errors on posts data fetch from :
pgrimaud/instagram-user-feed/src/Instagram/Transport/AbstractDataFeed.php
Syntax error on line 61!

Did you tried to upgrade to 6.15?

yes i do
this the getBody result :
for (;;);{"redirect":"https://www.instagram.com/p/Cc-wIYPDhUt/"}

@andreifiroiu
Copy link
Contributor

Yup, unfortunatelly Instagram is responding inconsistently when trying to get media data by calling instagram.com/p/[shorcode]?__a=1 (apparently based on login data and IP history). When isn't in the mood, will return:

for (;;);{"__ar":1,"error":1357004,"errorSummary":"Sorry, something went wrong","errorDescription":"Please try closing and re-opening your browser window.","payload":null,"hsrp":{"hblp":{"consistency":{"rev":1005640913}}},"lid":"7106408698253330412"}

@RoseGoli
Copy link

RoseGoli commented Jun 8, 2022

Yup, unfortunatelly Instagram is responding inconsistently when trying to get media data by calling instagram.com/p/[shorcode]?__a=1 (apparently based on login data and IP history). When isn't in the mood, will return:

for (;;);{"__ar":1,"error":1357004,"errorSummary":"Sorry, something went wrong","errorDescription":"Please try closing and re-opening your browser window.","payload":null,"hsrp":{"hblp":{"consistency":{"rev":1005640913}}},"lid":"7106408698253330412"}

there is an other way like 'graphql/query' to get posts now
lib should be updated...

@pgrimaud
Copy link
Owner

pgrimaud commented Jun 8, 2022

lib should be updated...

Feel free to open a PR 😄

@RoseGoli
Copy link

RoseGoli commented Jun 9, 2022

image
i dont really know how to use github but this is what i did to the pervious version of library and now its working just fine with graph api

by the way i also made a proxy response class so i could change items formate to graphql too
so there would be no issue

@RoseGoli
Copy link

RoseGoli commented Jun 9, 2022

lib should be updated...

Feel free to open a PR 😄

hi there
i wanna ask if you have a telegram account/group where we can talk maybe?
it would be really cool to committee information in such platform...

@alisamie97
Copy link

alisamie97 commented Jul 17, 2022

I get this error when trying to login. I have used this in local and remote server. The local server works but remote server fails.
I also upgraded to 6.15

@Rubberg
Copy link

Rubberg commented Sep 27, 2022

Still the same pb.
Method getProfile() returns code 200 with some html as datas (probably the instagram login page) causing a Syntax error in json_decode().

There are many issues opened for the same error :
#335
#318
#298

@AgentSmith0
Copy link

This seems to be fixed in 6.16.6.

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

7 participants