How to implement versioning with deep linking Twitter Cards?


We have been using Twitter cards for deep linking for a while. However, recently we decided to change our iOS app’s internal URL structure to make it quicker to open a deep linked url.

Old system: joulebug://open#target_url=

New system: joulebug://pin/4e726498615b320f8b000080

What I am looking for is how to implement a versioning for these two systems so that people with older app versions can still get to the deep link as well as people with new versions.

I’ve tried something like including a ‘v2’ in the protocol and duplicating the meta tags:

<meta name="twitter:app:url:iphone" content="joulebugv2://pin/4e726498615b320f8b000080"/>
<meta name="twitter:app:url:iphone" content="joulebug://open#target_url="/>

But that didn’t seem to work, and I’m having some trouble testing without having the latest version submitted to the store. Does any one have a similar issue or have any pointers on how to solve this issue?