Ionic 3 Creating App Id and App secret for Facebook
Ionic 3 Creating App Id and App secret for Facebook
Steps for Creating APP-ID and APP-SECRET :
- Go To Facebook Developers Page
- Login to developers Portal Using Your Facebook Credentials
- Click On Add a New App Button
- Enter Your App Name and click continue
- You will see facebook developers Dashboard , where you can see APP ID and APP SECRET
- Click on setting in the side menu , click on Basic and click on the "ADD PLATFORM" button at bottom of page
- Now You can see Google Play Package Name Field Where you need to enter your application Package Name sufix with "com."
- Package name will be "com.io.ionic.starter" (io.ionic.starter can be found in config.xml file)
- You can also see Class Name Field Where you need to enter your application Package Name sufix with "com." and prefix with "MainActivity"
- Class name will be "com.io.ionic.starter.MainActivity" (io.ionic.starter can be found in config.xml file)
- Click On Save Changes
- Click on settings in side-menu and select Advanced option
- Now on the Advanced Page you can see a checkbox "Native or Desktop app ? " make it to YES.
- Click on Save Changes
- Click on App Review in side-menu
- On the App Review Page you will find a checkbox "Make APP-NAME public". Mark it YES.
- Click on Facebook Login in side menu and select Settings option
- Make the following checkboxes to YES i.e.. "Client OAuth login" , "Web OAuth Login" , "Login From Devices".
- Need To Enter Valid OAuth Redirect URL.
- Create OAUTH redirect URL by following the steps mentioned in Create OAauth Redirect URL For Facebook
- Click on facebook-login tab on side-menu and select settings option.
- Settings page is opened and the obtained OAuth URL is pasted in Valid OAUTH field.
- Click On Save Changes.
- Now we need to link our Facebook developers application to Firebase.(if Required. Not used for InAppBrowser facebook login)
- Follow steps in Link Firebase and facebook Application
Comments
Post a Comment