D
D
Denis Bredun2020-10-04 00:07:33
JavaScript
Denis Bredun, 2020-10-04 00:07:33

Instagram API. How can I get the username or user id of a particular post if I have that post's data?

I have a post id, its shortcode, the date it was created, a link to it, and some other information about it. How can I get the username or id of the user who created this post if I have that post's data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
�
 , 2020-10-05
@amoralov

1. Make a request here: https:// www .instagram. com/graphql/query/?query_hash=eaffee8f3c9c089c9904a5915a898814&variables={"shortcode":"your shortcode here","child_comment_count":3,"fetch_comment_count":40,"parent_comment_count":24,"has_threaded_comments":true
} , there id and username

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question