SHOPLINE lets customers log in to your store with their Facebook account for quicker one-click checkout, alongside email and phone number registration. This feature requires a Facebook app installed on your store. Since creating a Facebook app is a separate process, set one up before configuring it in the SHOPLINE admin panel.
This guide provides step-by-step instructions for creating the app on Facebook and enabling quick login within your SHOPLINE admin panel.
In This Article
Create a Facebook App and Get Credentials
This section guides you through creating a Facebook app and obtaining the App ID and App Secret needed to enable Facebook login for your SHOPLINE store.
Creating a Facebook App
- Log in to Facebook for Developers using your personal account.
Note: If you don't already have a Meta for Developers account, click Get Started and follow the steps to create one.
- Click My Apps to access the app settings page.
- Click Create App.
- In the "Add use case" step, select Authenticate and request data from users with Facebook Login and click Next.
- On the "Login type" page, select No, I'm not building a game and click Next.
- On the "App details" page, enter your desired app name and email address for contact, then click Create app.
Setting Up App Permissions and Review
- Access the Dashboard page and select Customize adding a Facebook Login button.
- On the customization page, locate Facebook Login > Settings and click Go to Settings.
- Proceed with the Client OAuth settings by enabling the following features:
-
- Client OAuth login
- Web OAuth login
- Use Strict Mode for redirect URIs
- Enforce HTTPS
- Enter your store's URL in the Valid OAuth Redirect URIs field.
-
- If your store uses a unique URL, such as https://www.xxx.com, copy and paste the following URL into this field: https://www.xxx.com/user/signIn and replace "xxx" with your store’s handle.
- If your store uses a free URL, such as https://xxx.shoplineapp.com, copy and paste the following URL into this field: https://xxx.shoplineapp.com/user/signIn and replace "xxx" with your store’s handle.
Note: If you are unsure whether your store has a unique URL or a free one, you can go to the store homepage and simply copy the URL.
- After completing the setup, click Save changes.
Note: After submission, double-check that Use Strict Mode for redirect URIs is enabled, and save again if necessary.
- Return to the app customization page and locate Permissions > Email. Click Add to grant your app permission to access user emails.
- (Optional) Submit your app for review if you want to enforce stricter login requirements. Go to Review > Testing and/or Verification to complete the testing and company verification steps as instructed.
Configuring Basic Settings & Getting Credentials
- Fill out the required details in App settings > Basic based on your store's information.
Note: In the Privacy Policy URL field, Enter your store's unique Privacy Policy URL, not SHOPLINE's official URL. - Once finished, copy the App ID and App secret. You'll need them to complete the Facebook login setup in your SHOPLINE admin panel.
Enable Login with Facebook in the Admin Panel
Steps in SHOPLINE Admin
-
In your SHOPLINE admin panel, go to Settings > Customer account.
- Locate Sign in through third-party accounts under the "Classic customer account" section and click Edit.
- On the Facebook login option, click Link.
- Enter the copied App ID and App Secret in the pop-up window and click Save.
Congratulations! You've completed the setup. Now, test the feature on your store.
Testing Facebook Login
Access the sign-up/login page of your store and click the Facebook Sign-Up/Login icon. This will prompt customers to log in to their Facebook accounts and grant authorization to your app (the app name and icon will appear).
Note: Customers must grant access to their Facebook profile to use the login feature. |
Comments