Answer the question
In order to leave comments, you need to log in
How to correctly access the instagram users api in php?
I'm trying to get information about the user through the instagram api
<header class="clearfix">
<img src="<?php echo $data->user->profile_picture ?>" alt="Instagram logo">
<h1>Имя <?php echo $data->user->username?></h1>
<h3>Имя пользователя <?php echo $data->user->full_name ?></h3>
<h3>Постов: <?php echo $data->user->counts->media ?></h3>
<h3>Подписчиков <?php echo $data->user->counts->follows ?> Подписок <?php echo $data->user->counts->followed_by ?></h3>
</header>
Answer the question
In order to leave comments, you need to log in
You are not looking at the documentation, but at the request. Do print_r($data);
it and get data from it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question