saurabhd / hk_realestate

GNU General Public License v2.0
1 stars 0 forks source link

Create Login with Facebook option #64

Closed heliogabal closed 7 years ago

heliogabal commented 7 years ago

As we now have a facebook page (https://facebook.com/herbertundkohlmeyer), we would also need to have an option to log in with facebook on the website, similar as the log in with twitter that is already there. This would be the first step for the customer intranet project.

The goal is to ease the registration / login process, and collect data available on the facebook profile of the customer to put into the CRM contact.

Let me know what else you would need for that, and how much time you think this is going to take. I probably should make you facebook admin for the page, so you can have access to the developer section?

darshi-shah commented 7 years ago

I will create an app to use on dev site and local environment using dev id. For live site, we will use HK account to create app.

heliogabal commented 7 years ago

Ok, sounds good.

heliogabal commented 7 years ago

User to CRM contact sync would be good additionally. Possible data:

darshi-shah commented 7 years ago

CRM user sync is done with agent role. New users created via FB login has buyer role. Please let me know if we should implement this for normal users as well.

Also, please note that the fields mentioned in previous comment are present in CRM contact and not in user profile.

darshi-shah commented 7 years ago

Hi Rainer,

To get this information from facebook, we will need to get review done first.

Please refer to screenshot attached. This screenshot is taken from Facebook app I created to use in local environment.

hk_local_app_permission

Also, please refer to https://developers.facebook.com/docs/facebook-login/permissions for more details.

Let me know how we should proceed with this.

Thanks Darshi

heliogabal commented 7 years ago

Hi Darshi, for now, let's work with what we get without review from the public profile. That's at least the photo, name, email and address, I think? We can always decide to add more info later.

darshi-shah commented 7 years ago

Hi Rainer,

We get name, email and profile picture. I will work on creating CRM contact based on this.

Thanks

darshi-shah commented 7 years ago

Hi Rainer,

CRM contact creation based on FB login is done and pushed on develop. Please take pull and revert hk_social_login feature.

Thanks