Getting an ID and a secret key for Facebook and Google is not enough. You have to set up the accounts.
For Facebook
In the App Dashboard, add a new app, go to app Settings, add platform, choose "Website", fill in the URL of the site and retrieve the ID and the secret key.
For Google
Go to the Google API Console and create a new library. In the API Manager, go to Credentials and create credentials OAuth client ID. Configure consent screen, fill the product name and save. Select Web application and click on the Create button. Retrieve your client ID and your secret code.