You need to create an app at http://developers.facebook.com/apps/ . After that put the app information at Theme options > General Settings > APIs. Facebook sign in will start working.