How to create Facebook App ID for Website login (OAuth client ID and secret - Enable Live mode)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ค. 2024
  • How to create a Facebook App ID that is used for website login: enable users to log into your application using their own Facebook accounts.
    I will show you how to create a Facebook developer account, then create your first Facebook App ID to obtain Client ID and Secret key used for OAuth authentication in your application.
    I will also demo login to a website using Facebook with a Facebook App ID in development mode.
    Finally you will learn how to create another Facebook App ID in Live mode so it can be used in production mode.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 96

  • @jbparkthree
    @jbparkthree 2 ปีที่แล้ว +1

    To see "development mode/in development", I chose last app type option (None / None of the above). Then it worked like a charm. Thanks Mr. Nahm.

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      Thanks for the tip.

  • @johnarbuckle6876
    @johnarbuckle6876 2 ปีที่แล้ว

    Lâu lắm rồi mới được nghe lại bài này. Hay lắm ạ 😘

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      great to hear that. Thanks for watching :)

  • @AjayGupta-ob8oe
    @AjayGupta-ob8oe 3 ปีที่แล้ว +1

    Very very thanks for this video.

  • @mmwcreation
    @mmwcreation 3 ปีที่แล้ว

    Easy explaination method bro. Super bro..😃😃😃

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      Thanks and welcome

  • @user-pr5oi6ce8q
    @user-pr5oi6ce8q 3 ปีที่แล้ว

    It is very userful to me. Thanks for your share!

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      Glad it helped. You are welcome.

  • @potararaj2642
    @potararaj2642 3 ปีที่แล้ว

    Thankyou nam

  • @irupcblacknight1666
    @irupcblacknight1666 3 ปีที่แล้ว

    Thanks for this full tutorial about this

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      Glad it was helpful!

  • @Ahmad201055
    @Ahmad201055 3 ปีที่แล้ว

    I have a problem that you can help me solve or prepare for this is the message
    URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs.

  • @theultimaterelaxation6839
    @theultimaterelaxation6839 3 ปีที่แล้ว

    Thank you so much.

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว +1

      You're welcome!

  • @sagarsagu7567
    @sagarsagu7567 8 หลายเดือนก่อน

    in recent facebook its not showing devoloper mode and live mode toggle button and also in pulish it has option go live, if i press that it showing broken url

    • @CodeJava
      @CodeJava  8 หลายเดือนก่อน

      hmm, so let me check later.

  • @sagarsri4143
    @sagarsri4143 3 ปีที่แล้ว +1

    Superb 👌

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      Thanks for liking

  • @LuisSanchezCrypto
    @LuisSanchezCrypto 3 ปีที่แล้ว

    After the users logged in my page using the FB option, can I store/use their Facebook IDs?

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      you can access their email and there name. It depends on the scopes setup in the Facebook App ID - what information the users can give you to access.

  • @noortech1820
    @noortech1820 3 ปีที่แล้ว +1

    It is super awesome, could you share the source could please?

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว +1

      Source code is not available at the moment (will be in future), but you can see how to code in this video: th-cam.com/video/FQc43y7fdLo/w-d-xo.html

  • @sagarsagu7567
    @sagarsagu7567 8 หลายเดือนก่อน

    and also is that necessary to host that app in playstore before going to live mode

    • @CodeJava
      @CodeJava  8 หลายเดือนก่อน

      no, it's not necessary. app can be web app also.

  • @deepnamdev5744
    @deepnamdev5744 ปีที่แล้ว

    Sir , you have good content with you , But damn our voice is so sleepy and watching your videos gives sleep

    • @CodeJava
      @CodeJava  ปีที่แล้ว

      I'm really sorry to hear that.

  • @TechsJardin
    @TechsJardin 3 ปีที่แล้ว

    I have tried this several times but i keep on getting error message from Facebook at the first stage.
    Ooops
    Something went wrong. We're working on getting it fixed as soon as we can.
    Please how can i resolve this please? Thanks

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      I think it was due to Facebook's issue itself. Try again later.

  • @rahulbarua2770
    @rahulbarua2770 3 ปีที่แล้ว

    Thank you for your help

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      Always welcome

  • @chickendev5759
    @chickendev5759 ปีที่แล้ว

    nghe cách nói tiếng anh là biết đồng hương rồi à 😀

    • @CodeJava
      @CodeJava  ปีที่แล้ว +1

      đúng rồi em. Welcome to my Java channel!

  • @taebear5301
    @taebear5301 2 ปีที่แล้ว

    When I click on save changes it doesn't work because it shows an error because the privacy policy url and data deletion instruction url fields are empty .

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว +1

      so you should provide those URLs, which can be any - not required to be real.

  • @kalajengkingh6244
    @kalajengkingh6244 2 ปีที่แล้ว

    thanks you , very muc ..

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      Happy to help

  • @WaterArt1
    @WaterArt1 3 ปีที่แล้ว

    thank you

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      You're welcome

  • @anismerdas
    @anismerdas 2 ปีที่แล้ว

    thank you so much bro !
    but it work in the laptop but in the phone dosent work !

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      what is the issue/error?

    • @anismerdas
      @anismerdas 2 ปีที่แล้ว

      @@CodeJava ifound it ohhh yeaaahhhhh you have to activate this 👉👉 Login with the JavaScript SDK

  • @lvanderb3
    @lvanderb3 3 ปีที่แล้ว

    I'm stuck on Update Privacy Policy URL or Data Deletion Information
    Before switching to live mode, you must provide both a valid Privacy Policy URL and data deletion information. Update this information in Basic Settings on App Dashboard - I've entered all of this information and yet still cannot go live

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      I think you need to get support from FB developer team.

    • @lvanderb3
      @lvanderb3 3 ปีที่แล้ว

      @@CodeJava Thank you, it was a typo on my part...sigh ...

  • @falconwhite1062
    @falconwhite1062 2 ปีที่แล้ว

    thanks , how to enable Facebook App ID in Live mode with localhost ,and how great url privacy with that. pleas

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      The live mode is for Internet domain, not for localhost.

  • @javac739
    @javac739 3 ปีที่แล้ว

    where is the previous video? where we change application.properties to application.yml? Thanks

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว +1

      right click on the properties file and you will see the command convert to yml

    • @javac739
      @javac739 3 ปีที่แล้ว

      @@CodeJava thanks ❤

  • @stb4327
    @stb4327 2 ปีที่แล้ว

    Thanks

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      You are welcome :)

  • @kulvirsingh4568
    @kulvirsingh4568 2 ปีที่แล้ว

    Sir please help while logging in, it is saying- try signing in with a different account

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      You need to enable live mode so you can login using any FB account. Reference: th-cam.com/video/7qzjqwRpHm0/w-d-xo.html

    • @kulvirsingh4568
      @kulvirsingh4568 2 ปีที่แล้ว

      @@CodeJava but sir I am building it for development not for production

  • @deepnamdev5744
    @deepnamdev5744 ปีที่แล้ว

    Requesting you to put some energy into the videos

    • @CodeJava
      @CodeJava  ปีที่แล้ว

      Noted. Thanks for watching :)

  • @govindnath2636
    @govindnath2636 3 ปีที่แล้ว

    I have no button of development on home page ... Please someone help me.

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      you need to create a FB developer account first, as I mentioned in the beginning of this video.

  • @xuaniennguyen6573
    @xuaniennguyen6573 3 ปีที่แล้ว

    Em chào anh , anh cho em hỏi là em hiểu thế này có đúng ko ạ ? In development mode là chỉ cho đúng 1 cái email đăng kí của app đó vào được còn email khác thì ko đúng ko ạ? Em cám ơn ! Tiếng Anh em tệ quá k hiểu anh nói :((

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว +1

      em hiểu đúng rồi đó. Có thể là tiếng Anh của anh cũng tệ :)

    • @xuaniennguyen6573
      @xuaniennguyen6573 3 ปีที่แล้ว

      ^^ Anh cho em hỏi thêm là phần Valid OAuth Redirects URLs nếu mình dùng localhost thì phải bắt buộc cấu hình cho localhost https đúng ko ạ và khi mình bật live mode thành công thì có thể đăng nhập từ bất cứ account facebook nào đúng ko ạ .Em mới bắt đầu tìm hiểu nên hơi rối.Em cám ơn anh ạ.

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      @@xuaniennguyen6573Đúng rồi, nhưng ko bắt buộc phải https. Em xem video này chưa? th-cam.com/video/FQc43y7fdLo/w-d-xo.html

    • @xuaniennguyen6573
      @xuaniennguyen6573 3 ปีที่แล้ว

      Dạ em xem rồi ạ.Em thấy đa số url anh đều để 1 web khác không phải localhost (ví dụ là phần Site URL và oauth redirects urls).Nếu em để localhost có sai ko ạ.Em cám ơn ạ.

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      ok, lúc test thì để localhost. sau khi go live có thể update lại hoặc tạo app khác.

  • @kairomoses7222
    @kairomoses7222 3 ปีที่แล้ว

    this is where am stucked "Valid OAuth Redirect URIs" ........

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      I think it is explained clearly by Facebook. Check the error message and description carefully.

  • @omarpanda2037
    @omarpanda2037 3 ปีที่แล้ว

    I can't get the ID There are no numbers on the page Please Help

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      no client ID and client secret? Did the app get created successfully? You need to click Basics to see the code.

  • @thonghoangpham6085
    @thonghoangpham6085 11 หลายเดือนก่อน

    privacy tạo sao vậy anh

    • @CodeJava
      @CodeJava  11 หลายเดือนก่อน

      nhập đại một URL nào đó không có thật cũng được mà.

  • @thinhle-kg2wg
    @thinhle-kg2wg 3 ปีที่แล้ว +1

    can you give me the source code, thanks

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      source code will be attached to an article, which is yet to be published (will be soon).

    • @thinhle-kg2wg
      @thinhle-kg2wg 3 ปีที่แล้ว

      @@CodeJava ok , thanks

    • @thinhle-kg2wg
      @thinhle-kg2wg 3 ปีที่แล้ว

      How long will the source code be available?

    • @CodeJava
      @CodeJava  3 ปีที่แล้ว

      when time permits. I'm very lack of time.

    • @iyantara3220
      @iyantara3220 2 ปีที่แล้ว

      @@CodeJava when will it published sir?

  • @sandywoodall5771
    @sandywoodall5771 2 ปีที่แล้ว +1

    Help me get I'm my Facebook account please

    • @CodeJava
      @CodeJava  2 ปีที่แล้ว

      what do you mean? I don't understand.