When a user clicks to share to Facebook, they get the popup with the little yellow "contacting Facebook". That's fine on a desktop or laptop.
However, on a mobile phone or tablet, this is not so convenient, because users are not normally logged-in at https://m.facebook.com
Is there a way to redirect them to the Facebook app (where they're already logged in), instead of redirecting them to https://m.facebook.com in their browser?
Thank you!
I've searched the web and addthis support but cannot find an answer.
Related
Is there a way to use mobile apps Facebook (Apple, Android, etc ...) to automatically authenticate users who wish to use social access for the Captive Guest-Wifi portal or similar services?
I worked with the standard social login authentication module of the standard captive portal which intercepts the first call of the operating system (Captive Portal Assistant) or the standard browser (Chrome, Safari, FF, etc ...), but this means that a user must know his credentials.
It could be easier to use the App where the customer is already logged in...
thanks!
I need to authenticate the facebook user not to only open Facebook App.
To do it, check this link - Facebook Login for Android out. It would help you.
Also, in this question - Making facebook login work with an Android Webview there is a method to create a Facebook login button with their javascript API.
The problem that you may face is "Android captive portal's splash page limitation". The splash page has a lot of limitations on js codes.
After that, if you faced this kind of problem, create a redirect page for the splash page and on the redirected page, you can do anything you want as a normal web page.
I have created a facebook canvas app. It embeds a web site (which is fully functioning for several months).
If I paste the app url in browser, only I can see the app. But when any of my friends type https://apps.facebook.com/XXXXXXXXXXXXXXXXXXXX, they are not able to/allowed to see the page. Even when they are logged in as facebook user, they are not allowed to see the app page.
(I have implemented facebook login using javascript in my home page)
Can anyone give any hints.
Go to "Settings & Review" in the App Settings, there is a checkbox to put the App live. Else, only users with a role in the App can use it.
Just because this issue killed some hours of my precious time I would like to share these possible solutions with you.
Issue:
Facebook like box does not appear in either google chrome, safari, internet explorer or whatsoever browser.
Answering my own question
Possible reasons:
First of all keep in mind at all times that it might have something to do with your facebook login state in a browser.
Usually you are using a certain browser when surfing and developing. In this browser your are most likely logged into Facebook.
When trying a different browser you may not be logged in and Facebook possibly hides the like-box from you if:
Your Facebook fanpage has country restrictions
Your Facebook fanpage has age restrictions and Facebook does not know your age when you are not logged in
Your Facebook fanpage has been created but it has not been published yet (This was my case and it almost drove me nuts.)
You can adjust these settings in the admin panel of your fanpage.
Happy coding :)
Using a web browser e.g. Chrome on Android, if a mobile website requires a user to be logged in to Facebook and they are not, the browser will ask for Login details even though the phone may be logged in to Facebook via the Facebook native App. Is there any way to get details from the Facebook App without the user having to log in again?
If you want to login in website in a browser, using Facebook account from Facebook app - it is impossible, without intermediary application, or service. And even with it, I don't think, that you can get user login data.
Other approach - is try to launch Facebook app from your site, and show site from it, but again, you can't login to it, using app.
Why? Because the app, holds only token data, and nothing more. You can't get other information, like password, or email. Also, the work of browser, that save cookies and the app, that save token is different. You can't connect them together.
Clearly speaking it is not possible using website in browser.
Even it is also not possible if you develop any android app, the reason is that the facebook app will not share any data to any other app (even if it is running on the same device).
I also don't think that launching the facebook app from browser will be feasible for you, as you just want to use the facebook login system and then want the users back on your website (and again facebokk will not send any data to your web or app even if it is launched from your web or app).
I think it's not possible, because we wont link browser and an app.
I developed one android app with facebook login integration.If facebook native app already logged in, now i click my app facebook login button it directly redirect my app to my home page without asking fb username and password.
For me i used localStorage in javascript
localStorage.setItem("userName", userName);
localStorage.setItem("password", password);
var uname=localStorage.getItem('userName');
var pass=localStorage.getItem('password');
I have an iPad app that was built in Adobe Air, the app currently requires that users register and login.
What I would like is for users to login with their Facebook account, but this would require a Facebook dialog to appear within my app, either with StageWebView or in a browser window.
The Spotify client on windows PC doesn't show this dialog, instead you can enter your FB credentials into a normal text box:
This is how I would like my iPad app to behave, so I can keep my current login form.
I'm pretty sure this is the result of a special partnership between Facebook and Spotify. Generally, Facebook doesn't want you collecting users' passwords on your forms as a security precaution.