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();