You should use instagram shortcode and count for user post like information. Count must be 1 or 50.
The end_cursor will come after the first returned response. You need to submit this for the next page.
== is very important when moving to the next page.
For example:
shortcode: CeeEML9lELj
count : 12
end_cursor : QVFBSGh4NnNGaU1kdGN2bXZzNjl1dW12ZHdMdVFBQ19OaWhnWHVsZXc3c3lEdklnZ2IxYzU3WkhRMklUWFlnWWdQWHR0Tmp2dEt0SwUYXQ==
Bad shortcode request:
https://www.instagram.com/p/CeeEML9lELj/
Correct shortcode request:
CeeEML9lELj
Bad end_cursor request:
QVFBSGh4NnNGaU1kdGN2bXZzNjl1dW12ZHdMdVFBQ19OaWhnWHVsZXc3c3lEdklnZ2IxYzU3WkhRMklUWFlnWWdQWHR0Tmp2dEtKOHNTYXQ0w
Correct end_cursor request:
QVFBSGh4NnNGaU1kdGN2bXZzNjl1dW12ZHdMdVFBQ19OaWhnWHVsZXc3c3lEdklnZ2IxYzU3WkhRMklUWFlnWWdQWHR0Tmp2dEtKOHNTYXQ0w==