Closed counselorbot[bot] closed 2 years ago
🛑 There was an error: Try again! We received 'We guessed you're part of this generation: GenY! Happy listening! https://open.spotify.com/track/1Je1IMUlBXcx1Fz0WE7oPT?si=a04bbdf6ec4948b9!' instead of the correct response, 'We guessed you're part of this generation: GenY! Happy listening! https://open.spotify.com/track/1Je1IMUlBXcx1Fz0WE7oPT?si=a04bbdf6ec4948b9'. 🛑
What was confusing about this week? If you could change or add something to this week, what would you do? Your feedback is valued and appreciated!
I think trying to get the Face API to work was the most confusing and that was just due to the part that Microsoft had changed its policies. I liked the explanations given in the video of why we were doing each code section and what certain key words meant. I would like if these explanations continued and were added more in the videos. I feel like it also would help slow down the pace a little while also allowing us to absorb more knowledge over what we are doing.
Go ahead and merge this branch to main
to move on. Great work finishing this section!
⚠️ If you receive a
Conflicts
error, simply pressResolve conflicts
and you should be good to merge!
That's it for Week 2, move on to Week 3 in your new issue!
Week 2 Step 8 ⬤⬤⬤⬤⬤⬤⬤⬤ | 🕐 Estimated completion: 5-10 minutes
Ok, Boomer :neutral_face:
✅ Task:
Modify your Azure Function so that it texts the user back with a song.
${}
to quickly insert stringssong4u/index.js
in thesong4u
branch, and only merge the pull request when the bot approves your changes!🚧 Test Your Work
To test your work, try texting a jpg image to your Twilio number (with a face!). You should receive a text back that contains the required message format.
Example:
Working with JSON
JSON has keys and values. In our case, the generation is the key, and the url is the value.
See if you can determine the url with this syntax:
Shortcuts with Strings
You might be used to concatenating strings and variables like this:
That can get tiring, though. Try this syntax:
📹 Walkthrough Video