• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 739
  • Last Modified:

Link To Facebook App

Hi, when users are viewing my website on their mobile, is it possible to link my Facebook buttons directly to the Facebook Mobile App.

Normally when you click on a 'Post To Facebook' button etc... it opens up Facebook in your mobile browser.

I understand that several Apps can link and open other Apps etc, but is it possible to open an App from a link on a website?
0
oo7ml
Asked:
oo7ml
  • 5
  • 4
1 Solution
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Yes.  When you created your facebook app you created a unique url for it.  Just link to that url.
0
 
oo7mlAuthor Commented:
Sorry, when I refer to app I mean Facebook iOS App or Android App
0
 
oo7mlAuthor Commented:
anyone...
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
It looks like you can use fb://
The complete list is on wikipedia http://en.wikipedia.org/wiki/URI_scheme#Official_IANA-registered_schemes
http://mdotlove.com/guides/code/direct-linking-to-native-apps/

This sounds pretty straight forward but to make the above work, you have to register the url.
http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

I found a new project (for me) to detect mobile that looks promising.  http://mobiledetect.net/

I'm sorry for just the links, I have only worked with web apps and only dabbled in native.  Let me know if you need more details on any of this. In the mean time, I will add more topics to the question and try and attract more experts.
0
 
oo7mlAuthor Commented:
Thanks Padas, i'll look into these...

It is very annoying when someone clicks LIKE, TWEET or SHARE on your website via mobile and then they are brought to a mobile web version of Twitter or Facebook instead of their respective iOS apps...
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Do you have a native app?  Or do you have a mobile version of a website and you to send people to the facebook/twitter app from the mobile site?    

If they are your native apps, this might be possible.  If you are sending people to another app you don't control, that might not work.  If somebody is already on mobile web, it might be best to keep them on mobile web.  I might not have installed facebook or twitter.  

Keep us posted.
0
 
oo7mlAuthor Commented:
I have a responsive website and i want to send people to the native Facebook and Twitter iOS / Android app if the click Share, Tweet, Like etc...

As of now... if Share, Tweet, Like is clicked, Facebook and Twitter open their respective web versions in which the user has to then log into their social media account... however i want it to load the respective native app so that they don't need to log in etc...
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I think the problem with doing this could be if they do not have the app although if they have the service, more then likely they have the app.

Give it a try using fb://

Is this something you can build into your web app?  https://developers.facebook.com/docs/facebook-login/getting-started-web/
0
 
oo7mlAuthor Commented:
ok cool, will give that a try, thanks Padas
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now