当我发布Instagram到 callback.php 时,实时instagram api不回调

这是一个列表订阅

Array (
  [meta] => Array ( [code] => 200 )
  [data] => Array ([0] => 
    Array (
      [object] => user
      [object_id] =>
      [aspect] => media
      [callback_url] => http://sandbox.xxx.info/instagram/callback.php 
      [type] => subscription
      [id] => 17368472
    )
  )
)

在我的 callback.php 中,我只是尝试将某些内容写入文件中

$data['x'] = '1234';
$file = file_get_contents('tmp/test.php');
$fulldata = $file . "\n\n" . json_encode($data);
file_put_contents('tmp/test.php', $fulldata);

但是我在Instagram上发布照片后没有任何反应 .