# Connecting Facebook via RTMP

**RTMP (Real-Time Messaging Protocol)** is a protocol used to transmit video, audio, and data from the PRISM app to streaming platform servers, requiring both a stream URL and a stream key.

The PRISM app support a login-based method for Facebook. However, You may rarely experience login issues within PRISM app with various reasons. Most login failures are resolved within a few hours, you might want to connect temporary while than.&#x20;

{% hint style="warning" %}
A manual RTMP connection does not support information such as chat and number of viewers on screen.\
Additionally, a PC is required to connect and start live streaming on Facebook via RTMP, as it requires access to the Facebook Live Dashboard.
{% endhint %}

***

To connect Facebook via RTMP, follow the instructions below.

**Step 1: In the LIVE tab, click the Ready button and go to My channels.**

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2Fjh2y9VJ16qoXP7W45mB1%2Ffacebookrtmp1.png?alt=media&#x26;token=0b9a597d-c67b-418d-a5c5-8aa245689713" alt=""><figcaption><p>In the <strong>LIVE</strong> tab, click the <strong>Ready</strong> button and go to <strong>My channels.</strong></p></figcaption></figure>

**Step 2: Click the Plus (+) button and select Facebook.**

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FPxQRLkYJj85ma0gnmzqw%2Ffacebookrtmp2.png?alt=media&#x26;token=978243df-39f3-4f32-a3d9-dcc563b350dd" alt=""><figcaption><p>Click the <strong>Plus (+)</strong> button and select <strong>Facebook.</strong></p></figcaption></figure>

**Step 3: Select Facebook Custom RTMP and enter the Stream Key from Facebook Live Dashboard.**\
The Stream URL will be automatically filled using the RTMP preset, but you must enter your own Stream Key from Facebook. Instructions on how to retrieve the Stream Key are provided below:

* [#getting-stream-key-of-facebook](#getting-stream-key-of-facebook "mention")

Once you’ve entered the Stream Key, click the **Save** button to complete the process.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FgcWx9tBK9hjqopfjPXzC%2Ffacebookrtmp3.png?alt=media&#x26;token=7c30b5fa-a16e-4b1d-a253-71b12b0623ea" alt=""><figcaption><p>Select <strong>Facebook Custom RTMP</strong> and enter the <strong>Stream Key.</strong></p></figcaption></figure>

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FVVcIjQbBoUOX9w0ap97u%2Ffacebookrtmp5.png?alt=media&#x26;token=2e18c63f-2751-4bfc-8743-25c12fab4706" alt=""><figcaption><p>You can now start broadcasting to Facebook.</p></figcaption></figure>

To start live streaming on Facebook with RTMP, first, click **Go Live** in the PRISM app, then go to the Facebook Live Producer website and log in to your account. You can visit the website via the link below on your PC:

* <https://www.facebook.com/live/producer/>

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2F6AsI9yWADgWgBVML9Nri%2Ffacebookrtmp6.png?alt=media&#x26;token=cfbd4fe0-0f4d-4450-9ace-5d1dd419409d" alt=""><figcaption><p>Click <strong>Go Live</strong> in the PRISM app.</p></figcaption></figure>

On the Facebook Live Producer page, select **Go Live**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FjGMrDU2cgFNKSMJjICRM%2Ffacebookrtmp7.jpg?alt=media&#x26;token=a1245221-dfb4-4db8-9d6d-90767cf711c9" alt=""><figcaption><p>Select <strong>Go Live</strong>.</p></figcaption></figure>

Check if the video feed from PRISM app is displayed correctly. Configure various options provided by Facebook. Once you’re ready, click **Go Live** to start your live broadcast.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FE8Uc4XKrGOsPqGQDk2Qd%2Ffacebookrtmp8.jpg?alt=media&#x26;token=f8ce2cb4-19fc-457c-b80f-bf350797e797" alt=""><figcaption><p>Click <strong>Go Live</strong> to start your live broadcast.</p></figcaption></figure>

***

## Getting stream key of Facebook

The Stream Key is a unique code that links the PRISM app to Facebook’s streaming servers, allowing your stream to be transmitted to your page or profile.

To get the stream key for Facebook, follow the instructions below:

**Step 1: Go to the Facebook Live Producer website and log in to your account.**\
You can visit the website via the link below on your PC:

* <https://www.facebook.com/live/producer/>

**Step 2: Select Go Live.**

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FjGMrDU2cgFNKSMJjICRM%2Ffacebookrtmp7.jpg?alt=media&#x26;token=a1245221-dfb4-4db8-9d6d-90767cf711c9" alt=""><figcaption><p>Select <strong>Go live</strong>.</p></figcaption></figure>

**Step 3: Select Streaming software as the video source and copy the Persistent Stream Key.**\
After selecting **Streaming software** as the video source, scroll down and click **Advanced Settings** to expand the section. Toggle on the **Persistent Stream Key** option if you want to use the same key for future broadcasts, which eliminates the need to copy a new key each time. Then, copy the **Stream Key** displayed on the screen.

{% hint style="danger" %}
Be sure to keep your stream key private. It is a unique code that links your broadcast to your channel, and sharing it could allow others to stream on your channel without permission.
{% endhint %}

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FarHbDNHGSDkEFWoVozPg%2Ffacebookrtmp9.jpg?alt=media&#x26;token=9d093cb1-fa11-4a2e-9a16-36d1afbe9f04" alt=""><figcaption><p>Follow the order indicated on the image to set and copy the <strong>Persistent stream key</strong>.</p></figcaption></figure>

[..](https://guide.prismlive.com/mobile "mention"), [..](https://guide.prismlive.com/mobile/guides "mention"), [..](https://guide.prismlive.com/mobile/guides/streaming "mention"), [](https://guide.prismlive.com/mobile/guides/streaming/rtmp "mention")


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.prismlive.com/mobile/guides/streaming/rtmp/connecting-facebook-via-rtmp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
