Comrades, welcome.
I couldn’t understand how to do this trick on callback.php, where photos from Instagram
were received with the help of tokens, to allow users to select the necessary photos for further work with them.
In PHP, I'm still a noob. I found the library ready from Instagram here: Instagram API implementation in PHP . Put, works. Here's just how to process and allow users to select the desired photos and make an order from this porridge.
I do not pretend to a ready answer, since everything is rather vague here. Who can tell me which way to dig and search for information. Thank!