APIs | FlutterFlow University

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • Dive into this detailed guide on setting up API calls in FlutterFlow. From importing an entire API library using open API specs to managing API groups, we've got you covered. Learn how to efficiently display and update data by binding responses to UI widgets. Plus, discover best practices for handling GET and POST requests, as well as working with dynamic data.
    Thanks to ‪@nocodebackend‬ for the backend for the tutorial.
    Ready to try FlutterFlow for yourself? Start building your app today with a free trial 👉 www.flutterflow.com
    Follow us on Twitter 👉 / flutterflow
    --------------
    FlutterFlow is a low-code builder for native apps, bringing design and development into one tool. With drag-and-drop functionality, you can build pixel-perfect UIs and easily connect your app to live data via Firebase or APIs. Plus, you can add advanced features like push notifications, payments, animations, and more. Whether you build your own custom widgets or write custom code, FlutterFlow makes it easy to bring your app ideas to life.
  • Věda a technologie

Komentáře • 63

  • @danielhabibi
    @danielhabibi Před 10 měsíci +14

    Xano + FF 😍This is hands down my favorite stack! For those that don't know, Xano is a SCALABLE nocode backend (imagine if Airtable and Zapier had a baby that exceeded their parents expectations 😂). You can do incredible things when you pair these two tools together!
    Also, it looks like the FF team fixed API group headers! 🙌

  • @thepunisher.
    @thepunisher. Před 10 měsíci +2

    Flutterflow + Xano = Seriously Match Made In Heaven😍 Please continue to create more videos on Xano integration🙌

  • @ololand102
    @ololand102 Před 3 měsíci

    the quality of this tutorial is outstanding!

  • @lk6618
    @lk6618 Před 10 měsíci +33

    Please make figma extension, you will make development not just 10x faster, but 50x faster

    • @user-es3sn7hi9m
      @user-es3sn7hi9m Před 2 měsíci

      them need more money for this

    • @soraclemedia
      @soraclemedia Před 2 dny

      @@user-es3sn7hi9m Bravo Studio do it already. FlutterFlow seems to be levels ahead.

  • @canal10emartes
    @canal10emartes Před 10 měsíci +3

    Thanks so much for the video! You could make a video teaching how to use the Progress Bar and its interaction with other pages of an App: This will help me a lot. Thank you!

  • @alea621
    @alea621 Před 8 měsíci +1

    BROOO!! u are the best teacher FF !!!! make more videos !!! I like u voice and your way of teaching! thx a lot!! slowly and claire

  • @onecarwood
    @onecarwood Před měsícem

    I have just found FF and this is what I thought Webflow would become. FF is awesome.

  • @AlexMusatkin
    @AlexMusatkin Před 9 měsíci

    Thanks. Please make more tutorials on API. Integration with to OpenAI, Google/MSFT/Amazon APIs, etc.

  • @ivantodorov
    @ivantodorov Před 3 měsíci

    I now love to setup API calls.

  • @kevsphil6531
    @kevsphil6531 Před 3 měsíci

    thank you so much. this video helps me alot

  • @patrykslom
    @patrykslom Před 3 měsíci

    Excellent explanation

  • @developerzull
    @developerzull Před 5 měsíci

    That's outstanding!

  • @LevelHorizon
    @LevelHorizon Před 7 měsíci +2

    How did you produce the token? Shouldn't tokens expire and be refreshed periodically? If so, hard-coding them into the headers doesn't make sense. Can you explain the approach please?

  • @leodwivedi
    @leodwivedi Před 10 měsíci

    Please create a small series of fluttterflow with Firebase of Tutorial.

  • @almahmeed
    @almahmeed Před 5 měsíci +1

    Excellent video. I am using wordpress REST API to create new users on wordpress. I have created my customer route which is enabling me to insert the users with no issues. On the other hand, I would like to add the profile image and following the instructions in the video, i should select multipart rather than JSON ,, so how would you recommend doing it in one step if possible?

  • @MrBenjo000
    @MrBenjo000 Před 10 měsíci +7

    How would you suggest securely storing/accessing API keys so that bad actors can't get them? Such as the openai keys etc. I'd love to see a production ready tutorial with auth and security best practices for backend integration 🙏

    • @FlutterFlow
      @FlutterFlow  Před 10 měsíci +5

      Great Question.
      Toggle on the "Make Private" in the advanced settings. That will route the call through a cloud function so the header values are not exposed. Your API keys are typically set in the "Authentication: Bearer ${apiKeyOrTokenHere}" header, and by just toggling on "Make Private" in the API settings, you'll automatically get the benefit of securely routing via a Google Cloud Function.

    • @MrBenjo000
      @MrBenjo000 Před 10 měsíci

      Thanks @@FlutterFlow team, that's great! So this would only work with a Firebase cloud function setup?

    • @FlutterDev1337
      @FlutterDev1337 Před 6 měsíci +2

      ​@@FlutterFlowas long as the key is stored in the frontend (pesisted on the device and encrypted or not), the user can still see the API key exposed in the payload of the network request. You can try this yourself to verify. Storing your keys in the backend (as Firebase secrets, etc) is the way to go.

    • @FlutterFlow
      @FlutterFlow  Před 5 měsíci

      @@FlutterDev1337 correct. updated.

  • @vineeth.vijayan314
    @vineeth.vijayan314 Před 10 měsíci +1

    I have tried the team Api but when i pass my access_token in header as a group variable it doesn't work
    in the group API how can I make it dynamic?

  • @makistzolistv3461
    @makistzolistv3461 Před 8 měsíci

    Amazing videos.Can you please make a video with live streaming api call from owncast?

  • @kiranpatil4648
    @kiranpatil4648 Před 10 měsíci

    Please make a video about "how to crop an image in specific ratio and store it to firestore" finding the solution from long time!

  • @brayangomez1780
    @brayangomez1780 Před 9 měsíci

    where you save your apis?

  • @vikassable3468
    @vikassable3468 Před 10 měsíci +1

    how to get image path to show image of base 64 string images through api call

  • @Classtrack
    @Classtrack Před 10 měsíci +3

    How can we add before action and after action while making any API request ? For example : Globally in all the API calls if API sends 401 (Unauthorized) status then it should redirect to some login page.

  • @jazielwayne2178
    @jazielwayne2178 Před 10 měsíci +2

    This is great. What about Firebase, please if a tutorial can be done on how to connect social media APIs to a FlutterFlow app (example; TikTok, Instagram, Facebook, CZcams... etc)
    🙏🙏🙏

    • @eml9147
      @eml9147 Před 3 měsíci

      agreed this is sorely needed

  • @williamsalazar2624
    @williamsalazar2624 Před 4 měsíci

    Thanks. How to generate swagger api definition from SUPABASE to load in FlutterFlow?

  • @Riddle124
    @Riddle124 Před 10 měsíci

    guys, is it possible to import figma files? The whole design and everything

  • @nicolaimagnussen1914
    @nicolaimagnussen1914 Před měsícem

    Looks like there might be a bug, its first when you have multiple items in a list, that FF understands its a list, even though the json has one object inside the list.

  • @user-zp4of6sn1x
    @user-zp4of6sn1x Před 10 měsíci

    HOW TO RECEIVE RESPONCE FROM THE API. EXample when I send payment request then I want to capture the responce from the Api , something like a webhook

  • @marcelopacetta546
    @marcelopacetta546 Před 2 měsíci

    Is it possible to read the api url from a variable in order not for it to be static and allow me to change the server's location without having to rewrite the urls?

  • @ololand102
    @ololand102 Před 3 měsíci

    Is there a way to increase TimeOut in POST API calls in FlutterFlow? My call to OpenAI Assistant takes longer than 60 seconds because of the Code Interpreter taking a long time to generate a chart. I searched for the solution and even started chatting with your online support but have not found a solution yet.

  • @terradealexandre5063
    @terradealexandre5063 Před 8 měsíci

    Hi, i got xml response and not json response. How can i do please ?

  • @user-cg1fi9zd7h
    @user-cg1fi9zd7h Před 10 měsíci

    How download image?

  • @mudso
    @mudso Před 7 měsíci

    Help, my pictures are actually a child in a Component, I cant really figure out how to pass the imgUrl from my json into that.

  • @0Amshalem
    @0Amshalem Před 10 měsíci +2

    Hey great! One question - how do I connect 2 API's endpoints? For example, I have API for posts and API for comments. How do you connect/binding the post ID to the specific comments list?? @flutterflow?

    • @growthmania17
      @growthmania17 Před 10 měsíci +2

      Forget about connecting the APIs, one sec. I suppose that u have in your database each Comments : a PostID as a reference to each of your posts.
      So In your PostDetailPage, create a global variable for that PostID (or maybe u already have it in a paramater). Then you make 2 api call : first your specific Post (not the all post endpoint) and second, his Comments, by the same postID variable.😊 I think it make sense, right ??

    • @0Amshalem
      @0Amshalem Před 10 měsíci

      Thank you for the help, I try to understand what is mean not all the post endpoint, because I have a list with all the post the pass parameters with PostID, in the PostDetailPage I add Backend quary for Comments (that come from different API call) and get Null because I didn't create children and all the variables get Custom JSON path@@growthmania17

  • @mrdiin.dev_
    @mrdiin.dev_ Před 10 měsíci +1

    Hi. Great stuff ! Is it possible to import a Postman collection as well ?

    • @FlutterFlow
      @FlutterFlow  Před 10 měsíci +3

      Yes, but you have to convert it first. You can use this: kevinswiber.github.io/postman2openapi/

    • @mrdiin.dev_
      @mrdiin.dev_ Před 10 měsíci +1

      @@FlutterFlow beautiful ! Thanks !

  • @dotrongan
    @dotrongan Před měsícem

    How to handle errors api ?

  • @shabatidjani1354
    @shabatidjani1354 Před 10 měsíci

    if any one can help me with this. i have been stock here with some issues. i have a timer widget and the timer widget begins when a button is clicked...but the problem i am facing now is, when i navigate to another page that the timer widget is not found, the timer stops and that is what i don't want. how can i resolve this problem?..
    A guide or a hint will be a big time relief.
    Thanks for your understanding

    • @001Debjeet
      @001Debjeet Před 9 měsíci +1

      use original flutter dont use flutter flow thats the solution

  • @AmitKumar-ct8df
    @AmitKumar-ct8df Před 29 dny

    hah what are the odd. one thing you picked up for an example is the widget which comes with an widget state property. How about using iimage widget which does not come with an wideget state

  • @guob1n
    @guob1n Před 4 měsíci

    Bro I found this voice over is exactly the same voice with the guy from Javascript Mastery channel :D

  • @dr.strange6458
    @dr.strange6458 Před 9 měsíci

    what idea does Flutter have?

  • @mistyorpin1020
    @mistyorpin1020 Před 8 měsíci

    When I follow the directions exactly, the first call to generate children works fine. But the next call (to the body instead of to a path) generates a "NoSuchMethodError:'toList" error.

    • @shreeram8859
      @shreeram8859 Před 5 měsíci

      Yes for me too. How to resolve it???

    • @shreeram8859
      @shreeram8859 Před 5 měsíci

      Found the error. Try to parse the JSON according to your JSON body. It works perfectly fine for my now.

  • @David_tommy
    @David_tommy Před 10 měsíci +3

    I wished I understand 😭😭😭😭😭 I really need a beginner crash course on flutterflow, someone please help me out 🙏🙏

    • @FlutterFlow
      @FlutterFlow  Před 10 měsíci +4

      This video is part of a series that's an intro to FlutterFlow course. You can find it here: czcams.com/play/PLsUp7t2vRqx-xMe6gucpfjeDgIj0tJRIm.html

    • @RR-et6zp
      @RR-et6zp Před 2 měsíci

      documentation is better. I also recommend talking with llms like google gemini and chatgpt because you can ask basic questions

  • @tes-a6069
    @tes-a6069 Před 5 dny

    this tutorial doesn't work...
    no such method error : 'tolist' dynamic call of null.

  • @neanda
    @neanda Před 10 měsíci +2

    great videos, but i just got to say though, the vocal fry is very distracting and isn't necessary. but thanks for the videos :)