Thank you for purchasing our extension. If you have any questions that are beyond the scope of this document, do not hesitate to leave us an email via [email protected]
Created: 11/05/2016 | By: Magenest | Support Portal: http://servicedesk.izysync.com/servicedesk/customer/portal/30
Introduction
Magento 2 Social Login is an extension developed by Magenest to help customers login to Magento 2 stores conveniently with their social accounts.
Extension's page: Social Login and Share
Features For Admins
- Set up app for each social network including: Twitter, Facebook, Google, Amazon, LinkedIn, Pinterest, Instagram, Reddit, Line
- Add login popup with social login options
- Add social login options to sign in, sign up page
- Set social login suggestion for customer at checkout page for customers who used to login with social account on the store
- Add comment section using Facebook account for customer on product detail page
- Add social sharing buttons on product page
Features For Customers
- Choose to login with one of 9 social accounts: Twitter, Facebook, Google, Amazon, Linkedin, Pinterest, Instagram, Reddit, Line
- Share products on their social networks
- Use Facebook account to comment on the Magento 2 store
- Be suggested with social login at checkout page if they used to login with social account on the store
System Requirements
Your store should be running on Magento 2 Community Edition version 2.0.0, 2.1.x, 2.2.x.
Configuration
General Configuration
First, navigate to Stores > Configuration > Magenest > Social Login, you will be able to enable:
- The login popup when customer clicks on Sign In button on top menu bar
- The social login options in Sign Up/Create an account page
- The social login on checkout page, including the sign in button on the top of the page, and the social login suggestion for customers who used to login with social accounts on the store
- The ability to comment on product page using Facebook account
- The ability to share the product link via social networks that are chosen in the social sharing options: Twitter, Facebook, Google+, LinkedIn, Pinterest, Reddit
Credentials Settings
In order to connect the social app to your Magento 2 store, you have to set up the app as follows:
How to set Client ID and Client Secret of Google+
Go to the Google Developers Console – https://console.developers.google.com/
Select an existing project, or create a new project by clicking Create Project:
In the Project name field, type in a name for your new project.
In the Project ID field, the console has created project ID.
Click on the Create button and the project to be created within some seconds.
In the left sidebar, select APIs under the APIs & auth section.
Find the Google+ API service and set its status to Enable.
Click Create Credentials select OAuth Client ID.
Create Client ID dialog box would be appearing for choosing application type.
In the Application type section of the dialog, select Web application and click on the Configure consent screen button.
Choose Email address, enter Product name and save the form.
In the Authorized JavaScript origins field, enter your app origin. If you want to allow your app to run on different protocols, domains, or subdomains, then you can enter multiple origins.
In the Authorized redirect URI field, enter the redirect URL.
Click on Create.
Now you can see the Client ID for web application section. Select Client ID and Client Secret then fill in Configuration of Google in Backend of Magento 2 store.
- Enable: To enable Google login and sharing option
- Client ID: Google+ application ID
- Client Secret: Google+ application secret
- Redirect URI: You will use this URL in Google to connect the app
Go to the https://developers.facebook.com/apps/ and login at your Facebook developer account.
Click Add a New App button on the top right to create a new app ID. A popup will display as below
In the Facebook for developers Settings, choose Basic, click on the Add Platform button, then enter your site URL.
Click on Save changes button. You will see that there are App ID and App secret, note that you will need these to configure the module in the backend of Magento 2.
Then you have to make your app public to everyone. On the top bar, click on Status, a pop up as below will be displayed. Confirm to make the app public.
- Enable: choose Yes to enable Facebook social login and share
- Client ID: Fill in the Facebook app ID obtained from above
- Client Secret: Fill in the Facebook app secret from above
How to set Client ID and Client Secret of Twitter
Go to the Application Management page and login with your Twitter developer account.
Follow this tutorial article to create a Twitter app http://docs.inboundnow.com/guide/create-twitter-application/
- Enable: Choose Yes to enable the Twitter social login and share
- Client ID: Twitter application ID
- Client Secret: Twitter application secret
How to set Client ID and Client Secret of Pinterest
Go to https://developers.pinterest.com/ and login your Pinterest developer account.
Choose App > Create app button to create a new application.
New tab is open with App ID and App secret, you must add the site URL and Redirect Uri (obtained from the Google+ settings in Magento backend) for web in the Platforms section.
Use the app ID and app secret to configure the module in the Magento 2 backend.
In Magento 2 backend,
- Enable: allow showing or hiding Pinterest login button
- Client ID: Fill in the Pinterest app ID from above
- Client Secret: Fill in the Pinterest app secret from above
How to set Client ID and Client Secret of Instagram
Go to https://www.instagram.com/developer/ and login at your Instagram developer account.
Choose Manage Clients, Register new Client ID, add Redirect Uri to Valid redirect URIs. and uncheck Disable implicit OAuth in tab Security
After clicking on Register button, Manage Clients tab is open, select Client ID and Client Secret in Manage and enter Configuration of Instagram in Magento 2 stores.
- Enable: allow showing or hiding Instagram login button
- Client ID: Instagram application ID
- Client Secret: Instagram application secret
- Enable: allow showing or hiding Linkedin login button
- Client ID: Linkedin application ID
- Client Secret: Linkedin application secret
After choosing Submit button, new tab is open, tick all the box in Default Application Permissions and add URLs to authorize your web. Select Client ID and Client Secret for Configuration of Linkedin to finish.
When done, please press Save Config, your configuration is ready to use.
Front end
How the social login button will be represented to your customers
- Show the Social Login buttons below Customer sign in form
- Show the Social Login buttons below Customer registration form
- Show the Social network buttons for sharing as: Twitter, Facebook, Google, Pinterest and show the box for leaving comments by Facebook accounts inside Detailed product information tab
How to use social network accounts in Magento 2 stores
Log in using the social network account
- Google+ accounts
- Facebook accounts
- Twitter accounts
- Instagram accounts
- Linkedin accounts
- Pinterest accounts
Sharing products on their social networks as: Twitter, Facebook, Google, Pinterest
At detailed product information, customers can share product on their social network using one of 4 button: Twitter, Facebook, Google, and Pinterest.
Leaving a comment using Facebook accounts
At detailed product information, click on Comment tab, customers can leave a comment using Facebook accounts. Then click on Post button to finish.
Update
- When a new update is available, we will provide you with a new package containing our updated extension.
- You will have to delete the module directory and repeat the installing steps above.
- Flush the config cache. Your store and newly installed module should be working as expected.
Support
- We will reply to support requests within 2 business days.
- We will offer lifetime free update and 6 months free support for all of our paid products. Support includes answering questions related to our products, bug/error fixing to make sure our products fit well in your site exactly like our demo.
- Support DOES NOT include other series such as customizing our products, installation and uninstallation service.
Once again, thank you for purchasing our extension. If you have any questions relating to this extension, please do not hesitate to contact us for support.