Facebook OAuth Error Issue!.

I would love some help on this.

http://pastebin.com/XcNjyQPT index.php
http://pastebin.com/rpKGyeK6 fbmain.php
http://pastebin.com/mtYKShD4 my error