• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Are the two API_KEYs different?

Q&A Forum › Category: Questions › Are the two API_KEYs different?
0 Vote Up Vote Down
CHOI asked 2 years ago

The code in the book and the download code are different,
I’d appreciate it if you could tell me which one to use.
EBOOK FIRBASE WEB APP: 69p
//  Insert your network credentials
#define WIFI_SSID “REPLACE_WITH_YOUR_SSID”
#define WIFI_PASSWORD ” REPLACE_WITH_YOUR_PASSWORD”
//  Insert Firebase project API Key
#define API_KEY “REPLACE_WITH_YOUR_API_KEY” <—–1)ebook
//  Insert Firebase project API Key
#define API_KEY “REPLACE_WITH_YOUR_PROJECT_API_KEY” <—-2)ebook
**************************************************************************************************
 Download Sketch folder (Arduino IDE) <— Download code here,
  Download Project folder ESP32 (VS Code + PlatformIO)
  Download Project folder ESP8266 (VS Code + PlatformIO)
Download Sketch folder (Arduino IDE) code:
// Insert your network credentials
#define WIFI_SSID “REPLACE_WITH_YOUR_SSID”
#define WIFI_PASSWORD “REPLACE_WITH_YOUR_PASSWORD”
//Insert Firebase project API Key
#define API_KEY “REPLACE_WITH_YOUR_PROJECT_API_KEY” <——-1)Download Sketch folder (Arduino IDE) code
***************************************************************************************
Ebook 와 Download Sketch folder (Arduino IDE) code:
1) YOUR_API_KEY
2) YOUR_PROJECT_API_KEY
Are the two API_KEYs different?
I’d appreciate it if you could tell me which one to use or both,
Have a nice day

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

You should always use the downloaded code from the project folder as it’s always the most up-to-date.
However, in this case, it doesn’t matter. because you should replace YOUR_PROJECT_API_KEY with your actual API key (the one that you got in previous chapters of the eBook).
 
Let me know if this is clear.
 
Regards,
Sara

0 Vote Up Vote Down
CHOI answered 2 years ago

Thank you for your answer,
I go from firebase again and make a new project,
Get a new API KEY, download the Sketch folder (Arduino IDE),
When I used the downloaded code,
Example) 3.3 Send data to the ‑ database: Sensor readings,
I tried it again
I think it’s going well so far
Thank you.

0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Great.
I hope you’re enjoying the eBook.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.