Does twitter:app:url:googleplay work?


#1

Hi,

I was having trouble with deep-linking in android so I tried to find working examples but I failed.

https://twitter.com/tumblr/status/400411852448210944
https://twitter.com/Etsy/status/400594484293304320

Both of above tweets are using twitter card api and if I open them with a mobile browser of a android device I can see a intended content. But if I open them with a android twitter app, I’m sent to the main activity of tumblr and etsy app but not the exact content. It seems that twitter:app:name:googleplay and twitter:app:url:googleplay are ignored.

What is the solution of this?

Thanks.


#2

Hi,

In looking at the Tumblr tweet, click through to the tweeted URL:

On that page, you’ll see the following tags:

        <meta name="twitter:app:name:iphone" content="Tumblr" />
        <meta name="twitter:app:name:ipad" content="Tumblr" />
        <meta name="twitter:app:name:googleplay" content="Tumblr" />
        <meta name="twitter:app:id:iphone" content="305343404" />
        <meta name="twitter:app:id:ipad" content="305343404" />
        <meta name="twitter:app:id:googleplay" content="com.tumblr" />
        <meta name="twitter:app:url:iphone" content="tumblr://x-callback-url/blog?blogName=staff&amp;postID=66821626174&amp;referrer=twitter-cards" />
        <meta name="twitter:app:url:ipad" content="tumblr://x-callback-url/blog?blogName=staff&amp;postID=66821626174&amp;referrer=twitter-cards" />
        <meta name="twitter:app:url:googleplay" content="tumblr://x-callback-url/blog?blogName=staff&amp;postID=66821626174&amp;referrer=twitter-cards" />

This is what to “model” when implementing your own deep linking.

Thanks!

Ryan


#3

This is what to “model” when implementing your own deep linking.

Thanks!

Ryan


#4

Thanks for getting back to us, and hope it was helpful!