Search code examples
htmliospinteresturl-scheme

Custom URL scheme for Pinterest on iOS Safari to open board URL?


I can't for the life of me find out how to simply open a Pinterest board (by launching the APP if it's installed) through an anchor within HTML.

I've taken a look at: https://developers.pinterest.com, but still can't find what i'm looking for. It seems most of the documentation out there is geared more towards the action of pinning an item, rather than viewing.

All I want to do is open a users profile. For example, i've dug up the following which works great for alternative social media links:

<a href="fb://profile/23050834961">Facebook</a>

<a href="twitter://user?screen_name=NHLBruins">Twitter</a>

<a href="instagram://user?username=nhlbruins">Instagram</a>

While I'm able to launch the Pinterest app, I'm unsure what the parameters would be passed to open a specific profile / board on Pinterest:

<a href="pinterest://">Pinterest</a>

Thanks to: http://handleopenurl.com/ for help with the above, but it seems Pinterest is absent. Any clues?


Solution

  • Looks like Pinterest has published an iOS SDK, and defined some URLS: Pin pinterest://pin/285063851385287883/ Board pinterest://board/meaghanror/cats-cats-cats/ User pinterest://user/carlrice/

    See more at https://developers.pinterest.com/ios/