Facebook shows your stream key when you set up a live video with streaming software. Go to facebook.com/live/create, pick where to post, click Go live and choose Streaming software. Facebook then shows a server URL and a stream key. Turn on Persistent stream key first if you want a key you can use again.
Last verified: .
Where is my Facebook stream key?
Facebook's guide to going live with streaming software lists these steps. Do them on a computer in Chrome, which Facebook recommends for going live.
- Go to facebook.com/live/create.
- In the left menu, click Choose where to post and pick your profile, a Page or a group.
- Click Go live.
- Under Select a video source, choose Streaming software.
- Optional: open Advanced Settings and turn on Persistent stream key.
- Copy the Server URL and the Stream key.
You need both values. The server URL tells your software where to send the video, and the key tells Facebook which live it belongs to.
To go live from a Page, you need Facebook access or task access to create content on it. Facebook's requirements also say your account must be at least 60 days old, and a Page or a profile in professional mode needs at least 100 followers.
Standard or persistent stream key?
| Standard key | Persistent key | |
|---|---|---|
| Reuse | One live video only | Works again after a live ends |
| Setup each time | Copy a new URL and key | Save it once in your software |
| Age | Make a new one if it's older than 7 days | Stays the same |
| Lives at once | One per key | One at a time per key |
| Best for | A single event | Weekly shows, scheduled and recurring lives |
Pick the persistent key if you stream more than once. A standard key can't be reused, and Facebook's troubleshooting page says to create a new URL and key once they're older than seven days. The persistent key avoids both problems.
Keep either key private. Facebook warns that anyone with it can stream to your post. If one leaks, make a new one in the live setup and replace it everywhere you saved it.
How do I use the key in OBS?
In OBS, open Settings, then Stream. Choose Facebook Live as the service, or Custom and paste the server URL. Paste the key into Stream Key. Facebook asks you to use a secure connection (RTMPS) when your software supports it.
- Click Start Streaming in OBS.
- Wait for the preview in Facebook's live setup. Facebook says it can take about ten seconds to show up.
- Add a title and description under Add post details.
- Click Go Live Now, or schedule it for later.
Facebook's live guidelines recommend 1080p at 30 fps, a video bitrate of 3,000 to 6,000 Kbps, a 2 second keyframe interval and H.264. For audio they suggest 128 Kbps stereo at 44.1 kHz.
How long can a Facebook live run?
Eight hours. Facebook ends any live that reaches its limit, with no grace period. Some premium partners, gaming creators and media organizations get up to 12 hours, but only when Meta approves it. Facebook's advice for longer events is to end the live and start a new one, and to tell viewers before you do.
After a live ends, it stays on Facebook as a post. Facebook keeps the replay for 30 days. Download it or turn parts into reels in that time if you want to keep it, because Facebook deletes what you haven't saved.
How do I add Facebook to Upstream.so?
Add Facebook as a destination and paste your persistent stream key from Facebook's live setup. Select Save this destination for reuse so it's ready for every later stream. Upstream.so sends the video to Facebook from its servers, so your computer can be off.
The same stream can go to YouTube, Twitch, Instagram and up to 10 platforms at once, out of 30+ that Upstream.so supports. When Facebook is one of several destinations, Upstream.so stops the Facebook output just before its 8 hour limit and keeps the rest of the stream going. Our guide to multistreaming to Facebook covers that setup, and the Facebook live streaming page shows how scheduled lives work. The free plan gives you 24 streaming hours a month with no card.
If OBS feeds Upstream.so, OBS uses Upstream.so's input URL and key. Facebook's key goes in the Facebook destination inside Upstream.so. The OBS connection guide shows where each one goes.
What if Facebook doesn't accept the key?
| What you see | Likely cause | Fix |
|---|---|---|
| No Streaming software option | The account or Page doesn't meet the live requirements | Check the 60 day account age, the 100 followers and your Page access |
| A key that worked before fails | It was a standard key, used once or older than 7 days | Make a new key, or switch to a persistent key |
| No preview in Facebook | The preview is still loading, or the URL or key was copied wrong | Wait about ten seconds, then copy both values again |
| The live page won't load | An ad blocker or browser plugin is blocking the player | Turn it off, or open the page in Chrome |
| The software can't connect at all | A firewall blocks RTMP | Allow RTMP, or use RTMPS if your software supports it |
| The live ended on its own | It reached Facebook's 8 hour limit | Start a new live with the same persistent key |
For other platforms, see where to find your YouTube stream key, your Twitch stream key and your TikTok stream key.
Facebook stream key FAQ
Does a Facebook stream key expire?
A standard key works for one live, and Facebook says to make a new one once it's older than seven days. A persistent key stays the same, so you can reuse it.
Can I stream to a Facebook Page with a stream key?
Yes. Choose the Page under Choose where to post. You need Facebook access or task access to create content on it, and the Page needs at least 100 followers.
Can I use one persistent key for two lives at once?
No. Facebook allows one live video at a time per persistent key.
Why did my Facebook live stop after 8 hours?
Eight hours is Facebook's limit for a live video. Start a new live to keep going. Longer limits are only for partners Meta approves.
Where is the Facebook stream key on my phone?
Going live in the Facebook app doesn't use one. The stream key is for streaming software, and Facebook shows it in the live setup on a computer.
Have your persistent key? Create a free Upstream.so account and save Facebook as a destination once.
Go live on up to 10 of 30+ platforms from one feed.
Send one live feed to Upstream.so and let the cloud deliver it to YouTube, Twitch, Kick, Facebook, and custom RTMP without making your upload connection carry every copy.
Sources
- Facebook Help Center: Go live on Facebook using streaming software, problems live streaming to Facebook and time limit and guidelines for live streaming.
Last verified: . Facebook help pages and Upstream.so's Facebook destination reviewed.


