I'd like to allow users to login to my application through Facebook and/or Google account as seen in different apps. I saw the different api from facebook and google to do that but it looks like it is used for social interaction and i don't need it (like posting on a wall). It just for them to avoid any creation of account and for me to be sure to have a secured login mechanism.
Is that the correct tools?
U need single sign on. I would not be very specific on this. So you may try this as a reference https://developers.facebook.com/blog/post/640/
Hope it helps!
Related
I want to make the application available in the Google/ third party market which can be used by anyone without using any login details on the cellphone. I want to add the same application to facebook later wherein people can access through Facebook. Basically, I want to allow users to directly access without login from their cellphone and Facebook users to access the application from Facebook Apps/Store/newsfeed.
I know we can add facebook login code. But, doing this will mean even the users accessing from Google Store or third party has to log in from facebook? Will it be possible to allow both ways?
In you case, yes it is possible.
With a simple conditional check you can activate or disable any feature of your app.
You didn't mentioned the language you are using to develop the app.
However, with an if condition check if platform is android or facebook.
If it is android, don't ask for login,
if it is facebook, get the
user details.
Simple, isn't it?
Yes it is possible you can use build flavors for that
for more follow below link
Build variants
I am a newbie to Firebase authentication, please pardon my ignorance.
I am thinking of the pros and cons of adding different types of authentications to my app, instead of adding only one (Google).
Adding all 3 (Google, Facebook and Email) would be more considerate of the user and their email preferences. That's the only reason I can think of, that I would add all 3. Are there any other reasons, if all I need is a user Id, and a way to send the user emails?
What would be the reason to add Facebook if anyone who has an android app has a google account?
And why would I add email authentication? This might discourage the user to enter an email if they have to type it.
I hope this question does not get closed. I am not looking for opinions. I am looking for facts only.
If you are really looking for facts, then i'd suggest Google authentication via Email Auth. But why?
Like you said;
What would be the reason to add Facebook if anyone who has an android
app has a google account?
I've personally seen some users don't even care to sign in on their Google account. Meanwhile, there are users who's really working with Google Play Store and they care!
So, adding Google authentication via Email Auth will be a good choice for those who's already signed in and they can logged in very quickly and simply by clicking on Google Sign in Button and also, Email Auth for those who's not signed in by Google and love to give the app a shot by their Email.
Adding FaceBook or other Authorization method will be a good choice to use on IOS. But why? Because in IOS there is an Apple Id which you can't use it for signing in on applications like Google. Not sure, i'm not an IOS developer but i don't think Apple would allow such a thing so, those two will be enough for users on Android Platform because Google made it easier to use one account which can be logged in on applications by a Button.
Also, nowadays, the best option to develop application or in whatever in our life, is to make something which makes human work quick & easily like Kotlin or this Signed in Button which those really are a life and time saver. :)
The app can redirect you to the FB page in question and get you to press the like button. Trying to understand if that can be done quicker. Tks
No, that is not possible.
Facebook allowed liking certain object types in the name of the user via API until a while ago - but it has been removed since, simply because the feature was abused too much.
And Facebook pages could never be liked via API, that has always been possible via the official Like buttons only.
What controls the Twitter access rights?
Is it the Twitter application as defined in my Twitter dev account?
Is it the Twitter Android API ?
Is it the TwitterLogin plugin info provided by Fabric.IO?
Is it a combination of these?
Is it something else?
Using Twitter as a Way to Identify User
All I want to do is use the Twitter OAuth which is provided by FabricIO and the TwitterLogin infrastructure so I can identify a user. In other words, let the user sign on using Twitter. However, I don't need or want more access to their account.
However, as you can see in the image below, the app seems to gain far more access to the user's Twitter account than I need.
Possible To Change?
Is it possible to change this so it is very limited? If so, where would I make those changes?
I just found the settings in my twitter dev account and it resolves some of this, but not all. However, maybe this is all it is even possible to control??
Go to https://apps.twitter.com/ (it'll take you to your twitter dev account).
If you have more than one app, choose the app you want to change.
Click the [Permissions] Tab.
You will see something like the following images:
Mine was set on Read & Write (2nd choice)- Image shows where I have now selected the Read only choice.
Click the [UPdate Settings] button and you get the odd screen that follows:
That made me think I hadn't chosen the correct choice (read only).
Finally, after a few minutes I refreshed the app settings web page and saw that it was on Read Only.
I then tried logging in using my Android application again and it now looks like the following:
Now, it cannot tweet for the user nor can it add users. It still seems a bit intrusive though, just to use it for Authentication.
In my app I want to have a link or button that can use stored credentials to login to social media sites - say facebook. But, since I plan on having a multiple links/buttons to different sites that may use different login info, I cannot force users to login to my app using any of the social media credentials.
Please forget the storing of credentials for now - that is a different issue altogether.
My question is Can I send the user's info to Facebook to allow them to login without having to take them to the login screen? If so, where to best find the information to do that?
Sorry if this is a noob question, but I am a noob to app dev and still trying to get my direction. Any sites or links with information would be appreciated.
sorry for the answer but from my experience you need to go through Facebook API to log in an android application using facebook,same for other social network. No clue what you wanted to do use a HTTP POST with the credential ?
There is a serious security issue with what you're trying to do, because it's you're application that handles the social network credential and so you would need to encrypt them store them and so on...
So if you want to give a try to Facebook Android API it's here : https://developers.facebook.com/docs/android/getting-started/
Dealing with the Facebook API is too much easy. You will follow some steps to import it into your project. Register your App on facebook developer site. Put the facebook button into your layout.
When the user clicks on the button the API will handle all the subsequent steps starting from taking the user username and password and will reply to you with a temporary accessToken that will be valid for two months. This is the only communication way with Facebook API, if you want to give the Facebook API any info with any other way. I am sorry to tell you you will not be able to do that.