From 94d42f753541ed29e409210291bf279df1e89ad0 Mon Sep 17 00:00:00 2001 From: Divya Rai <97333173+divyarai77@users.noreply.github.com> Date: Tue, 26 Apr 2022 15:07:04 +0530 Subject: [PATCH] Update install.php want to create My new App --- install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index 8fa8351..a1b8df3 100644 --- a/install.php +++ b/install.php @@ -2,13 +2,13 @@ // Set variables for our request $shop = $_GET['shop']; -$api_key = "1r30mrvCFMfq2DLGuIXyY2veEJVgTtDD"; +$api_key = "42bc79152f6e8348d722bf7595d0521c"; $scopes = "read_orders,write_products"; -$redirect_uri = "http://localhost/generate_token.php"; +$redirect_uri = "http://example.com/example/generate_token.php"; // Build install/approval URL to redirect to $install_url = "https://" . $shop . ".myshopify.com/admin/oauth/authorize?client_id=" . $api_key . "&scope=" . $scopes . "&redirect_uri=" . urlencode($redirect_uri); // Redirect header("Location: " . $install_url); -die(); \ No newline at end of file +die();