我到处都看过,但是找不到有关如何在http://storetasker.com/上创建“ Install App”按钮的任何文档(不是我的网站,不推荐它们,只是一个示例)
对一个简短的问题很抱歉,我通常拒绝在这里发布信息,而没有显示我已经尝试过的内容,但是由于上面发生的魔力,我什至找不到从哪里开始 /merchant-install
该应用不公开;也就是说-shopify不会托管它
您可以根据Shopify身份验证文档中描述的说明来构建url。
https://help.shopify.com/zh_CN/api/getting-started/authentication/oauth#step-2-ask-for-permission
我为自己制作的一个像这样:
https://my-store.myshopify.com/admin/oauth/request_grant?client_id={api_key}&redirect_uri=https%3A%2F%2Fmy-app.com%2Fauth&scope=read_themes%2Cwrite_themes%2Cread_products%2Cwrite_products%2Cread_customers%2Cwrite_customers%2Cread_orders%2Cwrite_orders%2Cread_script_tags%2Cwrite_script_tags&state=5c9f319dcc43d72fe7