Or (rather hacky), you could set them in your config/environments/development.rb: ENV['FACEBOOK_APP_ID'] = "12345"; ENV['FACEBOOK_SECRET'] = "abcdef"; An alternative way. However I would do neither.
Please google for "set environment variables on windows".
production: facebook_app_id: my_prod_fb_app_id facebook_secret: my_prod_secret.
To set the environment variables in a local installation, use OS specific commands.
Copy the new app's "App ID/API Key" and "App Secret" values to the FACEBOOK_APP_ID and FACEBOOK_SECRET environment variables, respectively, accessible to your Web server. For instance, if you're using Apache
Now the FaceBook App is ready to use. You can note down the App Id and App Secret as these will be required by your application.
IK Facebook and WP Social Pro Users: Paste these values into the plugins’ settings panel in WordPress, and click the Update button to complete your installation. Copy and paste the App ID and Secret Key you just received into the settings panel, and save your changes.
Get Facebook App Id and secret in 2015 - Duration: 3:07. basic gyan 5,307 views.
Step 9: Once the Facebook app has successfully been created, you still need to set the app live before the necessary key (App ID and App Secret) can be used by your AppMachine app.
On Debian, the file must have the extension .sh (although does not need a bang line or executable permissions since it is sourced). check your distro documentation or look at the /etc/profile script to see how these files are loaded.