Helpcenter +918010117117 //cdn1.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" support@storehippo.com https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Set up Facebook Login for mobile app

You can set up a Facebook login for the mobile App that you have created. To use Facebook login you will need to make sure that you've registered your mobile app with Facebook and have an App Id.
If you already have the App Id, you can directly provide it in StoreHippo admin panel. Follow thebelow-mentionedsteps to get an App Id:

  1. Go to https://developers.facebook.com and register yourself.

  2. Click on Create App.

  1. Enter the Contact Email and Display Name in the pop-up opened.

After entering the details, you can click on Add product in the sidebar. There you will see options like Facebook login, Audience network etc.
Click on Facebook login to setup Facebook login for your mobile app. 

  1. Select Android as the platform.

  2. Go to step 3 by clicking on the Next button.

  3. Enter the package name of your app. It would be in the format com.storehippo.app, in the Mobile App section in the StoreHippo Admin panel.

  4. Enter the Default Activity Class Name as your package name with the application name in camelCase format i.e. com.storehippo.app.myApp.

  5. Generating a Release Key Hash. If you have your custom key, then generate the hash of the key using the command shown on Facebook.

 If you are using StoreHippo inbuilt android build then the hash is FSeumKoPkwVPah7xmR6I2TMpqq4=
  1. Enable Single Sign-On for Your App.

  2. Fill up the form.

  3. Go to the App Review section in the sidebar and make your app live for production use.

  4. From the dashboard in the sidebar, copy the App ID and the name of the application.

  1. Go to Mobile Apps > Mobile apps section in StoreHippo Admin Panel. Edit the app and go to the Social Login Section. Enter the App id and Application Name in the Facebook social login field.

  2. Changes to be made in facebook account after publishing the app

    Google Firebase re-signs your app with a new key on publishing. You must update your mobile app with the new signing key for the Facebook Login to work on your published. 

    Following are the steps

    1. Go to Google console => Release Management => App signing => App signing certificate.
    2. Copy the SHA1 Fingerprint  (as shown in the image)


    Copy
    SHA-1 certificate from there and as it's in hexadecimal and since Facebook needs it in base64 so use the command shown
    echo SHA-1 key from step-2 (Hexadecimal) | xxd -r -p | openssl base64
    This command won't work in command prompt use bash on windows or git cli.
    Paste the base64 key in Facebook console => Settings => basic =key hashes
    https://stackoverflow.com/questions/44798378/google-play-app-signing-keyhash-mismatch

2020-11-17T07:34:20.478Z