通过自定义URL方案深入链接到eBay iOS应用程序? [英] Deep link into eBay iOS app with custom URL scheme?
问题描述
在我的应用程序中,我希望有一种方法可以在客户的iOS设备上打开eBay应用程序(如果安装了该应用程序),并使用我指定的术语进行搜索.
In my app, I’d like a way to open the eBay application on a customer’s iOS device (if they have that app installed), and perform a search with a term I specify.
我注意到打开eBay://
URL确实可以打开应用程序,但是在eBay开发人员门户上找不到任何API文档讨论我想做什么.
I’ve noticed that opening an eBay://
URL does indeed open the app, but I can’t find any API documentation on eBay’s developer portal discussing what I’d like to do.
有人这样做吗?知道要在应用中使用给定术语以及某些指定的搜索参数(例如类别或国家/地区)简单地在应用程序中进行搜索时,URL的其余部分将是什么?
Has anyone done this? Any idea what the rest of the URL would need to be in order to simply perform a search in the app with a given term, and perhaps some specified search parameters such as category or country?
我尝试过ebay://www.ebay.com/sch/i.html?_nkw=test
,它会启动该应用程序,但不执行任何搜索.
I’ve tried ebay://www.ebay.com/sch/i.html?_nkw=test
, it launches the app but does not perform any search.
推荐答案
我看到您可能找到了此链接,根据您的经验,此链接似乎已被最新的iOS版eBay移动应用弃用了
I see you probably found this link, which from your experience seems deprecated by the latest eBay mobile app for iOS release
我直接写信给开发团队,他们在这里维护一个面向公众的讨论论坛:
I wrote directly to the dev team, they maintain a public facing discussion forum here:
他们确认仍然支持上面Wiki链接中的示例.我今天测试并验证了它可以正常工作.在回答此问题时,它工作正常.请注意,您在iOS上只能在特定项目页面上登陆,或者在应用内启动搜索.搜索特定的eBay物品ID的示例为:eBay://launch?itm=360703170135
对于iOS.
They confirmed that examples in the wiki link above are still supported. I tested and verified it as working myself today. It's working fine at the time of this answer. Note all you can do on iOS is land on a particular items page, or launch a search within the app. An example of searching for a particular eBay item ID would be: eBay://launch?itm=360703170135
for iOS.
这篇关于通过自定义URL方案深入链接到eBay iOS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!