如何提高网站在Instagram上的费率限制


how to increase Rate limit in Instagram for website?

我创建了Slider With Instagram Image,但突然出现错误"已超过每小时的最大请求数。"

我已在网上查看,发现我的应用程序费率限制为500沙箱我已经使用以下代码获取图像

<?php
       $tag = 'User_ID';
            $access_token = "access_token";
            $url = 'https://api.instagram.com/v1/users/'.$tag.'/media/recent?access_token='.$access_token;
             $result  = URL_P($url);
             $decoded_results = json_decode($result,true);
 ?>

下的AND URL_p函数

<?php
function URL_P($url)
{
    $ch = curl_init();
    curl_setopt_array($ch, array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_SSL_VERIFYPEER => false,
    CURLOPT_SSL_VERIFYHOST => 2
    ));
    $result = curl_exec($ch);
    curl_close($ch);
    return $result;
}
 ?>

沙箱账户通常有较低的请求限制,通常沙箱账户为500,直播账户为5000。以下是限制链接https://instagram.com/developer/limits/

注册一个新的客户端并在有限制的情况下使用它,这样它就不会在每个请求中获取所有内容。

$url='https://api.instagram.com/v1/users/"$标记。'/媒体/最近?client_id='$client_id。'&count='$计数