Open a vine url in vine app using vine://

2.3k views Asked by At

I'm trying to open up the vine app when you tap a vine url from my app. Doing

NSURL *url = [NSURL URLWithString:@"vine://http://vine.co/v/biTaEEwdq2n?1"];
[[UIApplication sharedApplication] openURL:url];

Will indeed open up the app, but not navigate to the video. Any idea how this is done? Is it possible?

3

There are 3 answers

0
JideO On

The URL Scheme for the vine profile page is vine://user/USERID

Ex: vine://user/126850376482649253

0
Rémi Santos On

After looking at the Javascript on vine.co, I've found that the correct scheme for a post is : vine://post/<#id#> . So, let's try this vine://post/biTaEEwdq2n

It works for me.

0
aularon On

Try using vine://v/biTaEEwdq2n or vine://video/biTaEEwdq2n as the URL.