I registered with facebook longback using my email ID xxxxxx#hotmail.com.
Now I added my gmail ID xxxxxx#gmail.com
I want to use OpenID for logging into facebook - first I want to log into my gmail using my gmail ID and gmail pasword, then I open facebook in a new TAB (in the same browser) it should not ask for my facebook username & Facebook password.
But it is not working in my case, even after logging in gmail, facebook is asking for facebook user ID and facebook password.
Can you please help with the right procedure for using openID (i.e. gmail login with gmail user credentials for facebook).
I do not think that Facebook supports OpenID login. You either can use OpenID for Google Account or use Facebook's own login scheme and perhaps OAuth too.
https://developers.google.com/accounts/docs/OpenID
https://developers.facebook.com/docs/concepts/login/
https://developers.facebook.com/docs/reference/dialogs/oauth/
Related
I and a friend are developing an app and would like to use Facebook as a way of users having their own accounts without us having to ask them to store passwords or make users for security and ease of use.
Passport.js has a facebook plugin but it talks about a redirect URL so my question is: is it actually possible to just send information like email address and password to facebook for authorisation and return the users profile without actually redirecting the user to a facebook login page.
I don't see how i could redirect the user to a facebook login while inside my app and also what on earth would i put as the callback URL? Am i just trying to use passport-facebook in the wrong way?
is it actually possible to just send information like email address and password to facebook for authorisation
No. Users are strongly discouraged from giving this information to any 3rd party app, and you are not allowed to ask users for them.
Login with username/email and password happens on Facebook, not in your app. You will get feedback from the login endpoint then that they logged in successfully.
Dial *325# from your mobile phone. It will ask for facebook username/password. And will login to your account and will connect you to facebook through USSD. How do they do it? Is there any mechanism in any facebook api through which we can log in to user account, if he has provided us the username and password?
Not sure exactly how the login via phone call works... But I can answer your question about the API:
The Facebook API does not provide a login method with username and password. All authentication though the API is done by means of tokens.
I am developing an application where user can register themselves by filling up the registration form or login with their facebook account to use the application. But my problem is- how can I hit the login page of facebook and retrieve the userid, token, session key, username etc when user successfully logins to his facebook account and then redirect him back to my application.
I am really confused searching here and there. I have to just authenticate my user with his facebook account and comeback to my application with userid and all the keys.
please help.
Kind Regards,
Rupesh
Apparently Facebook supports OpenID, so use that. A quick google brings up articles such as http://developers.facebook.com/blog/post/246/
We are using Echo (aboutecho.com) so that users can add comments by logging in through Google, Yahoo, AOL, and OpenID. Echo does this by using JanRain.
All is well except Facebook is missing, but to add Facebook login, we need to change the Facebook app's Base URL to oursite.rpxnow.com (rpxnow is JanRain's website)
It works except, is it true that the website's existing method of using Facebook Connect to log user's in will stop working? Because the existing Facebook login need to match our domain, such as www.oursite.com, as registered in the Facebook app setting, but JanRain also wants to change that to oursite.rpxnow.com? Since Facebook can only accept one domain, it will choke on one or the other? thanks.
If you are using Janrain Social Login(Engage) then you will be replacing the Facebook Connect method with the Janrain authentication method.
When you use Janrain Social Login you will get back a Janrain Social Login oAuth token. This token can be used to retrieve the user's normalized payload of data from the successful authentication event through thisAPI endpoint: (https://{your-engage-domain.com}/api/v2/auth_info). There are code samples for this on the Janrain website.
This payload will contain the oAuth token for the user's Facebook authentication that you can use to perform additional calls against the Facebook API.
Janrain Social Login also supports this API Call: (https://{your-engage-domain.com}/api/v2/add_or_update_access_token) which allows you to use a token generated using Facebook Connect (assuming you are using the same Facebook Application ID for both Facebook Connect and the Janrain Social Login) and add or update the Facebook token stored by Janrain's server.
I'm reading conflicting reports of Facebook OpenID support. A Facebook blog post from 2009 states that they do, but apparently there is OAuth and Facebook Connect. Or do they only support other OpenID logins on Facebook itself? I have only used JanRain's RPXNow up to now, so integrating directly with OpenID is new to me.
As of December 2010, does Facebook support OpenID logins on external sites with a Facebook account?
Facebook is an Relying Party, so you can sign in to facebook using an OpenID.
Is is not a provider, however, so you can't sign in to other websites using your facebook account - at least not using OpenID.
Facebook is not an OpenID provider. There is no OpenID from Facebook you can use on other pages to login. But there are some third party servers that work as proxies. You connect them to Facebook and they provide an OpenID. In the end you have an OpenID if you are logged into Facebook.
Facebook is not even an OpenID customer. There is no page where you could enter your OpenID to login on Facebook.
Yes, you can set up OpenID providers, Google or some other services as so called "Linked accounts". They promise: "If you are logged into one of the accounts below you will automatically be logged into Facebook." But it does not work and it technically can not work as long as Facebook does not ask for the OpenID.