Open a social in app if it is installed

Hello everyone,

 

In my app there are some links for pages: facebook, instagram, twitter and you tube.

To open the link I use: 

system.openURL("myLink") 

Everything works well.

 

But most users have the app of these social networks already installed. So they would like to open the link directly in the app and not in the browser.

 

Is it possible to do this?

First, I believe you asked this question a day or so ago. It’s better to “bump” your post than creating a new one.

Many apps set up a URL scheme that can be used to launch the app, such as:

system.openURL(“facebook://”)

We don’t have a list of those, and I doubt Apple or Google provides a list. It just takes some Google sleuthing to find the scheme and any optional parameters needed.  I believe there is a WikiPedia page that has a pretty good listing.

Rob

Thank you@Rob Miracle

  1. You’re right I put the question two days ago but by reading this I thought this was the right place, so I removed the question and redone it here. I apologize if this is wrong

2.I did some research but I only found this: http://sketchyventures.com/2012/07/19/adding-in-a-facebook-like-us-button-using-coronasdk/

   It works well but I have not found anything else for the other social networks. Furthermore it requires very personal information on the         page…  Some other advice on what to googling for?

Look at:

http://lightarrow.com/lifetopix/launch-urls-for-popular-apps

Rob

Thanks, I’m testing but apparently not all social work as I would like …

I would have your social buttons open in a webView.  That way it should work for everyone app installed or not.

You can open this full screen and the added benefit is users don’t actually leave your app.

@SGT

I did some tests with the webView, but I could not get what I wanted.

I also think it is excessive to do this to open a link to a social network.

I keep looking for something better.

Thanks anyway for the tips!

First, I believe you asked this question a day or so ago. It’s better to “bump” your post than creating a new one.

Many apps set up a URL scheme that can be used to launch the app, such as:

system.openURL(“facebook://”)

We don’t have a list of those, and I doubt Apple or Google provides a list. It just takes some Google sleuthing to find the scheme and any optional parameters needed.  I believe there is a WikiPedia page that has a pretty good listing.

Rob

Thank you@Rob Miracle

  1. You’re right I put the question two days ago but by reading this I thought this was the right place, so I removed the question and redone it here. I apologize if this is wrong

2.I did some research but I only found this: http://sketchyventures.com/2012/07/19/adding-in-a-facebook-like-us-button-using-coronasdk/

   It works well but I have not found anything else for the other social networks. Furthermore it requires very personal information on the         page…  Some other advice on what to googling for?

Look at:

http://lightarrow.com/lifetopix/launch-urls-for-popular-apps

Rob

Thanks, I’m testing but apparently not all social work as I would like …

I would have your social buttons open in a webView.  That way it should work for everyone app installed or not.

You can open this full screen and the added benefit is users don’t actually leave your app.

@SGT

I did some tests with the webView, but I could not get what I wanted.

I also think it is excessive to do this to open a link to a social network.

I keep looking for something better.

Thanks anyway for the tips!