Help with Ardurino Uno RF Text Project

New to the forums although I am having trouble with my new code

I am trying to make a test project that I can press a button on my RF transmitter and it will text my kid to come home

I found one off of a pet food dish i was trying to edit from IR to RF but i am lost i have my Amazon setup and i have it connecting to wifi now but i am lost at editing the code from here any help would be really appreciated...

Getting these errors

SMS_Pet_Food_Dish.ino: In function 'void loop()': SMS_Pet_Food_Dish.ino:127:1: error: a function-definition is not allowed here before '{' token SMS_Pet_Food_Dish.ino:335:1: error: expected '}' at end of input Error compiling.

I am not seeing where I am missing brackets though

Wont let me embed the code too long code in attachment

RF Project.txt (12.2 KB)

Your loop() function starts on line 118. Where does it end?

It looks like you hosed things up doing a mass change of client to http://www. You need to undo that f**k-up.