部分的な機能停止share-external
Can't send private reply
1

Hi When my clients use instagram login to login to my app we can't send any private message (answer their comment using private message ) , and we face this error :

{"error":{"message":"The thread owner has archived or deleted this conversation, or the thread does not exist.","type":"IGApiException","code":100,"error_subcode":2534001,"fbtrace_id":"Acdz5R3Dp5eCABQbLdc0W0w"}}

My code is :

    $all = [
        'recipient' => ['comment_id' => '18076892116527707'],
        'message' => 'Hi'
    ];

    $payload = json_encode($all);
    $url = "https://graph.instagram.com/v10.0/me/messages?access_token=TOKEN";

    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    $result = curl_exec($ch);

    curl_close($ch);

    print ($result);
Misagh
質問日時: 約2ヶ月前
選択された回答
1

same here!

9月29日 7:04
Ali