Sending Notifications to Android app using Firebase and arduino

Its my first time doing such a program and I'm not sure what I'm doing wrong.

It looks to me like you are trying to compile code that is meant for an ESP8266 for the Mega. Tain't gonna work.