Added Facebook API and implemented accecss token retrieving.