Facebook JavaScript SDK Tutorial | Getting Started (Login & Graph API)

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 27

  • @jasongoossens
    @jasongoossens 3 года назад

    2 years later this is the best resource to get me started with the Facebook API, for my employers' project!

    • @washamdev
      @washamdev  3 года назад +1

      Glad to hear, Jason! Thankfully, the API hasn't changed a significant amount since 2018, so I haven't needed to update the tutorial quite yet. Glad it was helpful!

  • @charlesthomas2454
    @charlesthomas2454 5 лет назад +3

    Thanks so much for taking the time to make this video. I needed to learn this and you made it very easy. Literally made my Sunday. I was spending so much time trying to figure this stuff out through documentation.

  • @Spok2go
    @Spok2go 5 лет назад

    Clear explanations, timestamps in description? You got a like, sir

  • @NehaGawali-h4k
    @NehaGawali-h4k 9 месяцев назад

    Hello, Facebook JavaScript SDK share dialog not working on mobile but working well with desktop what to do?Plz help ..

  • @user-rv3jz7jl9v
    @user-rv3jz7jl9v 5 лет назад

    Almost perfect. I can't see. Very good explanation :)

  • @AMoktar
    @AMoktar 2 года назад

    Thats awesome Thanks,

  • @aymenchb5285
    @aymenchb5285 2 года назад

    you r the best ever

  • @okekecharles5676
    @okekecharles5676 3 года назад

    Sir... how will I send the response logged in the front end console to the backend... here its python flask... you can use any backend framework to explain....

  • @laikhandigitalmarketer5256
    @laikhandigitalmarketer5256 4 года назад

    Hello, Dear thank you, i am totally beginner, how do i connect to my website this codes when i prepared on my local machine and also 1 question. Would you teach us how get permission event for facebook? thank you

  • @casperalmubarak2106
    @casperalmubarak2106 4 года назад

    Hey, thanks! I have a question I got an issue when I click on share I got this "Can't Load URL: The domain of this URL isn't included in the app's domains" I think it is something to do with configuration, can you please help me?

    • @washamdev
      @washamdev  4 года назад

      That happens when the domain where your code is running is not on the list of approved domains for your app. Check out the section of the video starting at 1:20. That's where you specify where the Facebook API code can use your FB app to do things.

  • @vinodhbalakrishnan2726
    @vinodhbalakrishnan2726 4 года назад

    hi Washam. In My case the js SDK is loaded but still i am getting the error "Uncaught ReferenceError: FB is not defined" in
    FB.init(
    {
    'appId': '14866XXXXXXX',
    'cookie': true,
    'xfbml' : true,
    'version': 'v4.0'
    }
    ) which is inisde window.fbAsyncInit = function() {} kindly help me

    • @washamdev
      @washamdev  4 года назад

      Can you paste in the exact code you're using? Including your call to load up the FB JS SDK as well, so I can see what version.

  • @FaizanShaikh-pp1kg
    @FaizanShaikh-pp1kg Год назад

    Not able to provide url as localhost

  • @mohammadrafey2981
    @mohammadrafey2981 Год назад

    I get the following error "caught ReferenceError: FB is not defined" for when I do the intialize FB.init({})

  • @bonmadam
    @bonmadam 3 года назад

    Thank you for such an awesome tutorial on SDK video tutorial. You made it so easy and simple. However, I came looking for help wit data deletion request on the part of the user and did not see that. Is there any way you can help with that?

    • @washamdev
      @washamdev  3 года назад

      Can you help us understand what specifically you're asking about, in regard to a "data deletion request"?

  • @ThienNguyen-wf7yz
    @ThienNguyen-wf7yz 5 лет назад

    Tks so much

  • @snowwhite4434
    @snowwhite4434 5 лет назад

    can't find Solution explorer in visual studio code

    • @mangola-x8u
      @mangola-x8u 5 лет назад

      You can find in View Menu >> Explorer

    • @OmkarSingh-pj2wh
      @OmkarSingh-pj2wh 4 года назад

      He using MS Visual Studio (IED) not Visual Studio Code (Code Editor)

  • @rudikriel8268
    @rudikriel8268 5 лет назад

    FB is not defined inside the addEventListener.

    • @justinuzzanti361
      @justinuzzanti361 5 лет назад

      your missing this
      throw it in just under your closing script tag

    • @washamdev
      @washamdev  4 года назад

      Correct. I probably didn't mention that explicitly, but if the FB SDK hasn't loaded yet, then the FB call in the event listener will obviously not have access to the non-existent FB variable yet. So it may be best to apply the event listener inside the window.fbAsyncInit function.

  • @OscarTrabazosClaveria
    @OscarTrabazosClaveria 5 лет назад

    with trawlimgweb.com too

  • @nothing80400
    @nothing80400 3 года назад

    AGAIN JAVA SCRIPT