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 :

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

Comments

Popular posts from this blog

Ionic 3 Launch Navigator

Ionic 3 Share Through Social Media

Ionic 3 Screenshot using Button and Shake Gesture