Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    api V4 hello world not loading :(

    Windy API v4
    3
    8
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      raf-t Paraglider
      last edited by

      hi there,
      i gave a try with apiV4 on : https://paragliding.earth/includes/windy.php with my own api key

      the screen remains blank with console messages :
      " Échec du chargement pour l’élément 'script' dont la source est « https://api4.windy.com/assets/libBoot.js ». "
      which means : " Failure at loading 'script' element with source « https://api4.windy.com/assets/libBoot.js ». "

      then "ReferenceError: windyInit is not defined"

      see screenshot or live example.

      Capture d’écran de 2019-03-04 10-46-05.png

      thx for your help

      raphael

      1 Reply Last reply Reply Quote 0
      • R
        raf-t Paraglider
        last edited by

        as far as i can tell: same problem found on other pages (found on the 'examples' topic) :
        https://shareyrspot.com/
        https://www.followmychallenge.com/live/thelongestswim/
        http://surfwx.seaspatial.com/
        etc...

        after some testing (os : ubuntu 18.04) :
        the api is working fine on chromium Version 71.0.3578.98
        not working in firefox 65.0.1

        not sure what the problem may be with FF.. :(

        1 Reply Last reply Reply Quote 0
        • siimS
          siim
          last edited by

          Your example and other sites work for me.

          Make sure your adblocker don't block https://api4.windy.com/assets/libBoot.js script

          1 Reply Last reply Reply Quote 1
          • R
            raf-t Paraglider
            last edited by

            ok, i got it :
            my "privacy badger" ff plugin was filtering the trackers from windy.com, i had to manually allow them...

            Capture d’écran de 2019-03-04 11-13-52.png

            fyi : https://www.eff.org/privacybadger/faq#What-is-a-third-party-tracker

            regards,
            raphael

            1 Reply Last reply Reply Quote 0
            • R
              raf-t Paraglider
              last edited by

              and thx for your quick answer :)

              (could not find how to edit previous post...)

              idefix37I 1 Reply Last reply Reply Quote 0
              • idefix37I
                idefix37 Sailor Moderator @raf-t
                last edited by

                @raf-t
                To edit your previous posts, click on the 3 dots

                5F1F1092-6087-4812-8B99-2EAB0C31EA5C.jpeg

                1 Reply Last reply Reply Quote 0
                • R
                  raf-t Paraglider
                  last edited by

                  could really not find "edit" link :)
                  maybe i don't have enough permissions...

                  Capture d’écran de 2019-03-04 16-17-37.png

                  idefix37I 1 Reply Last reply Reply Quote 0
                  • idefix37I
                    idefix37 Sailor Moderator @raf-t
                    last edited by

                    @raf-t
                    Hmm.. that’s strange

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                    NodeBB & contributors, OSM & contributors, HERE maps
                    Terms of Use     Privacy Policy