
Fixing the No Config Error while adding new account
Open the this file
app\vendor\mgp25\instagram-php\src\Request\Internal.php
Search for this
public function sendLauncherSync( $prelogin) { $request = $this->ig->request('launcher/sync/') ->addPost('_csrftoken', $this->ig->client->getToken()) ->addPost('configs', ''); if ($prelogin) { $request ->setNeedsAuth(false) ->addPost('id', $this->ig->uuid); } else { $request ->addPost('id', $this->ig->account_id) ->addPost('_uuid', $this->ig->uuid) ->addPost('_uid', $this->ig->account_id) ->addPost('_csrftoken', $this->ig->client->getToken()); } return $request->getResponse(new Response\LauncherSyncResponse()); }
IF YOU ARE USING OLD VERSION OF THE API THEN USE THIS OR SKIP FOR NEXT
public function sendLauncherSync( $prelogin) { $request = $this->ig->request('launcher/sync/') ->addPost('_csrftoken', $this->ig->client->getToken()) ->addPost('configs', 'ig_fbns_blocked,ig_android_felix_release_players,ig_user_mismatch_soft_error,ig_android_carrier_signals_killswitch,ig_android_killswitch_perm_direct_ssim,fizz_ig_android,ig_mi_block_expired_events,ig_android_os_version_blocking_config'); if ($prelogin) { $request ->setNeedsAuth(false) ->addPost('id', $this->ig->uuid); } else { $request ->addPost('id', $this->ig->account_id) ->addPost('_uuid', $this->ig->uuid) ->addPost('_uid', $this->ig->account_id) ->addPost('_csrftoken', $this->ig->client->getToken()); } return $request->getResponse(new Response\LauncherSyncResponse()); }
IF YOU ARE USING NEW API VERSION V85 THEN USE BELOW
public function sendLauncherSync(
$prelogin)
{
$request = $this->ig->request('launcher/sync/')
->addPost('_csrftoken', $this->ig->client->getToken())
->addPost('configs', 'ig_android_felix_release_players,ig_user_mismatch_soft_error,ig_android_os_version_blocking_config,ig_android_carrier_signals_killswitch,fizz_ig_android,ig_mi_block_expired_events,ig_android_killswitch_perm_direct_ssim,ig_fbns_blocked');
if ($prelogin) {
$request
->setNeedsAuth(false)
->addPost('id', $this->ig->uuid);
} else {
$request
->addPost('id', $this->ig->account_id)
->addPost('_uuid', $this->ig->uuid)
->addPost('_uid', $this->ig->account_id)
->addPost('_csrftoken', $this->ig->client->getToken());
}
return $request->getResponse(new Response\LauncherSyncResponse());
}
Small update
IF YOU GET THIS ERROR (LauncherSyncResponse.php not found) do below step
and upload it to this path
app\vendor\mgp25\instagram-php\src\Response
And done ^^