Problems implenting code on 20x4 LCD but code works on 16x2

now my code goes to the Making HTTP connection state then it shows gibberish that fills the whole screen..

I am not a proficient C programmer but it appears to me that there is some code missing from your loop(). From what I can see it appears that that the stuff that you have shown should really be in setup().

One thing you should try to avoid is the use of lcd.clear() in a loop.

Don