如何使用节点API安装Shopify应用?
我的管理帐户中有一个Shopify应用程序(GGFI)。我也有一个网站可以出售自定义GIF。
我想要的:
- 当新的用户从我的网站登录到Shopify时,我想将我的应用程序(GGFI)安装到他们的Shopify Dash板上,而无需单击“安装应用程序”按钮。
我找不到任何节点API文档可以从我的API侧进行此操作。
I have a shopify app(ggfi) in my admin account . I have a website to sell custom gif too.
What I want :
- when a new user login from my website to shopify , I want to install my app(ggfi) to their shopify dash board , without them clicking "install app" button .
I could not find any node API documentations to do this from my API side .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定您想做什么,但是如果您想安装应用而不必单击按钮,您只需将它们重定向到您的应用路径并将其商店插入这样的查询:
他们将不得不再次验证并授予您应用程序的许可。
这将适用于我使用Shopify CLI构建的应用程序,但是您必须检查重定向过程如何在您的应用程序上工作。
Not sure what you want to do, but if you want to install an app without having to click a button, you can just redirect them to your app path and insert their shop in the query like this:
They will have to authenticate again and grant permissions to your app.
This will work on my app built with Shopify CLI, but you have to check how the redirect process works on your app.