How can I get an instagram users biography and profile data using a query_hash and the graphql endpoint?

How can I get an instagram users biography and profile data using a query_hash and the graphql endpoint?


0

I am currently getting userprofile information from the following endpoint ‘/api/v1/users/web_profile_info/?username=${username}’ which works. However it is quickly rate-limited and not suitable for my application.

I would like to use the graphql endpoint for user profile information (biography) so I do not get rate limited.

I cannot figure out how to generate a query_hash for user profile details.

If anyone knows the query_hash for biography information that would be great but even better would be if anyone can explain to me how to generate a query hash for arbitrary data.

I tried md5 hashing a json object which did not generate a valid hash. Also attempted to md5 hash the output of a json object using https://github.com/vkolgi/json-to-graphql-query which also did not produce a valid query_hash according to the instagram graphql endpoint.

Share

New contributor

sleep9 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

1 Answer
1

Reset to default


0

Maybe my answer will not cover your question, but as I have an experience with instagram I would advise you to look forward API which works with IG.

I have used for a while Lamadava

Since Instagram has banned many accounts, it’s gonna be difficult to maintain them (you will need to resolve challanges/or buy accounts),you may try with following approach via
LamadavaReadTheDocs
in case you need python library or direct API calling
or Lamadava

For your needs it’s better to consider following way.

https://api.lamadava.com/v1/user/about?id=123123
or
v1/users/web_profile_info

but without any rate limits/ accounts blocked/ buying proxy etc

Share



Not the answer you're looking for? Browse other questions tagged

or ask your own question.

Leave a Reply

Your email address will not be published. Required fields are marked *