Skip to Content

How do I get my stream key for Facebook on OBS?

How do I get my stream key for Facebook on OBS?

Getting your stream key for Facebook on OBS (Open Broadcaster Software) is fairly simple, though it does require a few steps. The stream key allows you to broadcast your live stream from OBS to Facebook. Here is a step-by-step guide on how to get your Facebook stream key for OBS:

Prerequisites

Before getting your Facebook stream key, you’ll need:

  • An OBS account set up and installed on your computer
  • A Facebook account
  • The Facebook app installed on your phone (optional but recommended for easy setup)

Step 1: Connect your Facebook Page to a Facebook Developer account

To get your stream key, you first need to connect your Facebook Page to a Facebook Developer account. Here’s how:

  1. Go to the Facebook Developers website and login with your personal Facebook account.
  2. Click on “My Apps” in the top menu bar and then “Create App.”
  3. Enter a name for your app and your contact email. Accept the Facebook policies and click “Create App.”
  4. On the next screen, click on “Set Up” under Facebook Login. Toggle “Client OAuth Login” to Live.
  5. Under “Valid OAuth redirect URIs,” enter this: https://www.facebook.com/connect/login_success.html
  6. Save your changes.
  7. In the left sidebar, click “+ Add Product” and select “Facebook Live.” Click “Set Up.”
  8. Under “Application Secret key,” click “Show.” Copy the key somewhere safe – you’ll need it soon.
  9. In the left sidebar, select “Facebook Login” again. Click “Settings” and then “Advanced.” Toggle “Client OAuth Login” to Disabled and save changes.

Your Facebook Developer account is now connected. Time to connect your Facebook Page.

  1. Go to your Facebook Page and click “Settings” in the top menu bar.
  2. Select “Advanced Settings” in the left sidebar.
  3. Scroll down to “Security” and click “Apps and Websites.”
  4. Paste your “Application ID” from your Facebook Developer app into the box. Click “Save Changes.”

Your Facebook Page is now connected to your Facebook Developer account. You’re ready to get your stream key!

Step 2: Get your Stream Key

To get your unique stream key for broadcasting to Facebook:

  1. Go back to your Facebook Developer app page.
  2. Click on “Facebook Live” in the left sidebar.
  3. Copy the “Stream key” shown on this page. This is your unique stream key for broadcasting to Facebook from OBS.
  4. Click “Generate New Key” if you ever want to invalidate the existing key and create a new one.

Step 3: Add the Stream Key to OBS

Now that you have your unique Facebook stream key, go to OBS to connect it:

  1. Open OBS on your computer.
  2. In the bottom left, click “Settings.”
  3. Select the “Stream” tab from the left sidebar.
  4. For “Service,” select “Facebook Live.”
  5. Paste your Facebook stream key into the “Stream Key” field.
  6. Click OK to save your settings.

Your Facebook stream key is now connected to OBS. When you start streaming, your broadcast will be streamed directly to your connected Facebook Page.

Troubleshooting

If you’re having trouble getting your Facebook stream key connected to OBS, here are some things to try:

Make sure your Facebook Developer app is set up properly

  • Double check that you connected your Facebook Page properly under the Page’s Advanced Settings.
  • Make sure “Client OAuth Login” is disabled in the Facebook Login settings for your Developer app.

Try resetting or regenerating your Stream Key

  • Go back to your Facebook Developer app and click “Generate New Key” to create a fresh stream key.
  • Copy and paste the brand new stream key into OBS.

Confirm your OBS settings

  • Make sure you have the right Facebook Page selected in OBS.
  • Try deleting and re-pasting the stream key in the OBS settings.
  • Confirm that the stream key matches exactly with what is shown in your Facebook Developer app.

Check your internet connection

  • Make sure OBS and your streaming computer are connected to the internet.
  • Try rebooting your modem and router if the connection seems spotty.
  • Test your upload speeds to ensure you have enough bandwidth to support live streaming.

Using the Facebook App

Optionally, you can use the Facebook mobile app to more easily connect your Facebook Page for streaming:

  1. Open the Facebook app on your phone and tap on your Page.
  2. Tap on the “Settings” icon in the top right corner.
  3. Select “Broadcasting With Encoder” from the options.
  4. Toggle “Enable Broadcasting” to on.
  5. Copy the stream key shown here.
  6. Go to OBS and paste that stream key into the settings.

The Facebook app provides the same stream key, just in a more accessible way from your phone. The setup steps are otherwise the same.

Going Live

Once your Facebook stream key is connected to OBS, going live is easy! Just:

  1. Set up your live scene(s) in OBS.
  2. Preview your scenes to make sure audio, video, etc are working.
  3. When ready, click “Start Streaming” in the bottom right corner.
  4. OBS will connect to Facebook using your stream key and go live!
  5. When done, click “Stop Streaming” to end your broadcast.

Additional Tips

Here are some additional tips for streaming to Facebook with OBS:

  • Test your set up first with private streams before broadcasting publicly.
  • Optimize your video and audio settings for streaming in the OBS preferences.
  • Use the Facebook app on your phone to monitor comments and engagement during your stream.
  • Promote your stream on your Facebook Page ahead of time to build anticipation.
  • Encourage viewers to follow your Page so they get notified when you go live.

Conclusion

Connecting your Facebook Page to OBS using a stream key opens up live streaming directly to your Facebook audience. With a few quick steps you can set up the link between the two platforms and be streaming in no time! Just be sure to test ahead of time and optimize your OBS settings for the best quality broadcast.