I just tried it on local. Clone the repo, installed the deps, started the local server
then I tried hitting the api using a curl request:
curl -X POST \
http://localhost:3000/api/instagram/scrape \
-H 'Content-Type: application/json' \
-d '{
"profile_id": "my_profile_id",
"first": 10
}'
and it generated this graphql https://www.instagram.com/graphql/query/?query_id=17888483320059182&variables={%22id%22:%22my_profile_id%22,%22first%22:10,%22after%22:null}
and this error {"errors":[{"message":"execution error","code":1675002,"summary":"Incorrect Query","description":"The query provided was invalid.","extensions":{},"severity":"CRITICAL"}],"status":"ok"}
Am I doing something wrong?
I just tried it on local. Clone the repo, installed the deps, started the local server
then I tried hitting the api using a curl request:
and it generated this graphql
https://www.instagram.com/graphql/query/?query_id=17888483320059182&variables={%22id%22:%22my_profile_id%22,%22first%22:10,%22after%22:null}and this error
{"errors":[{"message":"execution error","code":1675002,"summary":"Incorrect Query","description":"The query provided was invalid.","extensions":{},"severity":"CRITICAL"}],"status":"ok"}Am I doing something wrong?