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.
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.
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?
I’ve tried ebay://www.ebay.com/sch/i.html?_nkw=test, it launches the app but does not perform any search.
This works for me using the eBay custom URL scheme:
let eBayURL:NSURL?=NSURL(string: "ebay://launch?itm=301858203427")
UIApplication.sharedApplication().openURL(eBayURL!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With