To use Twitter, you just need a Twitter account.
To use Facebook, you need a Facebook account developers.
Then, just create a new application :
And, you need to enter your url website to activate Facebook login :
To finish, disabled Sandbox Mode, and you are ready to use it
Now, go into the settings of the field, enter your Facebook App Id & Secret, and click on "Sign up with Facebook"
As you see, the oauth token parameter is filled.
Now you can manage settings as you want. If you want to publish on your Facebook page, just enter it ID.