Instagram-PHP-API
Instagram-PHP-API copied to clipboard
Problem getting user_has_liked
Hi everybody, when I call: https://api.instagram.com/v1/tags/{TAG}/media/recent?client_id={CLIENT_ID}&count={COUNT}&sig={SIGNATURE}
I get the JSON with data field that contains the array of media in data. But I can't get the field: "user_has_liked" By documentation I should get it. And if I call the same api rest in https://apigee.com/console/instagram, I got the field user_has_liked.
Is there any errors ? Tnx
The field user_has_liked is returned only if the endpoint is called with user authentication.
You can find the solution at https://github.com/cosenary/Instagram-PHP-API/issues/151