i have spent hours issue, , driving me crazy.
i have access token , works except recent tagged media endpoints. called using php:
$url = "https://api.instagram.com/v1/tags/omg/media/recent?access_token={access_token}"; $curl_connection = curl_init($url); curl_setopt($curl_connection, curlopt_connecttimeout, 30); curl_setopt($curl_connection, curlopt_returntransfer, true); curl_setopt($curl_connection, curlopt_ssl_verifypeer, false); //data stored in $data $data = json_decode(curl_exec($curl_connection), true); curl_close($curl_connection); echo '<pre>'; echo print_r($data); echo '</pre>';
and result got:
{"pagination": {"deprecation_warning": "next_max_id , min_id deprecated endpoint; use min_tag_id , max_tag_id instead"}, "meta": {"code": 200}, "data": []}
while other api seems work fine except that. instagram tagged media api not working properly? having issue?
the status 200, request ok. problem app still in sandbox mode. return data users you've added on sandbox.
from instagram website:
instagram platform , documentation update. apps created on or after nov 17, 2015 start in sandbox mode , function on newly updated api rate-limits , behaviors. prior going live, , being able used people other developers of app, these apps have go through new review process. please read api documentation or change log more details.
any app created before nov 17, 2015 continue function until june 1, 2016. on date, app automatically moved sandbox mode if wasn't approved through review process. previous version of our documentation still available here.
you need go through app review process again receive new api key, involves providing description of api permissions need , demonstrating how permissions used via submitted video.
more details on http://instagram.com/developer