# Unable to stream from wowza Stream Engine to Facebook-Rest API

**URL:** <https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215>\
**Category:** Wowza Developer Dojo\
**Created:** [October 26, 2018, 12:18pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215 "2018-10-26T12:18:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka\_ME](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka\_ME](https://community.wowza.com/u/Priyanka_ME)\
**Post date:** [October 26, 2018, 12:18pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/1 "2018-10-26T12:18:01Z")

</div>

Still I didn’t get any clarifications on streaming to facebook through Rest API.

You can find the attachment in this post in which I got the access token there, but I have a confusion like there are 4 different access tokens available in the facebook [I had enclosed an Image ‘Facebook Access Tokens.PNG’ for this also] for which I need to get the access token?

In the image ‘Access Token.PNG’ you can see the marked areas in red color, in which the very 1st one is the right access token what we need or the 3rd one in green color text? and the 2nd one is the right destinationId?

accesstoken.pngfacebook-access-tokens.pngI followed this link ‘**[https://smashballoon.com/custom-facebook-feed/access-token/](https://smashballoon.com/custom-facebook-feed/access-token/)**’ to get the access token and finally confirmed that in the facebook debugger tool ‘**[https://developers.facebook.com/tools/debug/accesstoken/](https://developers.facebook.com/tools/debug/accesstoken/)**’. Is this right?

And as in the document provided ‘The app must have the required user and account permissions to post live videos to Facebook Live.’ where and how can I see those user and account permissions?

This is the link ‘**[http://eduvisiontest.info/smil/fb.zip](http://eduvisiontest.info/smil/fb.zip)**’ you can find the latest log files, please click the link to download and check it.

Explain me more clearly.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 26, 2018, 3:17pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/2 "2018-10-26T15:17:29Z")

</div>

Hello @Priyanka ME, a potential solution for you that has worked for others:

We have a doc for creating stream targets via Rest API; what you can do is to create it via UI in Streaming Engine Manager, simply click Facebook as a stream target, so you can configure it as needed, then perform the GET request via API, and use the json response as the body for your POST.

[https://www.wowza.com/docs/stream-targets-query-examples-push-publishing](https://www.wowza.com/docs/stream-targets-query-examples-push-publishing)

Also, please refer to this workflow:

[https://www.wowza.com/docs/how-to-stream-to-facebook-live-using-wowza-streaming-engine](https://www.wowza.com/docs/how-to-stream-to-facebook-live-using-wowza-streaming-engine)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 26, 2018, 3:18pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/3 "2018-10-26T15:18:29Z")

</div>

If you are still experiencing problems, please submit a support ticket. Thanks.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

**Author:** ![Priyanka\_ME](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka\_ME](https://community.wowza.com/u/Priyanka_ME)\
**Post date:** [October 27, 2018, 6:12am UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/4 "2018-10-27T06:12:54Z")

</div>

Hi Rose

I didn’t ask about the json datas, I just asked how to get access token and destId, please read and understand the question completely and then answer me. This answer shows you didn’t even read my description part and just answered for the name shake as your job.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 29, 2018, 11:12pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/5 "2018-10-29T23:12:00Z")

</div>

Hello @Priyanka ME, I’m sorry for your reaction and I do understand the frustration in seeking a solution. I did check with 2 different engineers and shared a link to this post so they read it and did see your attached images. I’m sorry we do not have resources for you on how to acquire the tokens through FB.

The question about the tokens is for Facebook or the 3rd party you are using. We only provide a resource once the tokens have been secured as you can see in this Wowza doc:

## Acquire a Facebook access token

* * *

When using the REST API to configure Wowza Streaming Engine to send a stream to Facebook Live, you must first use an external Facebook application that you’re developing to acquire a Facebook access token. Note the following requirements for the external Facebook application:

- The app must have the required user and account permissions to post live videos to Facebook Live.
- The app’s Require App Secret option must be disabled.

* * *

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 30, 2018, 3:21pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/6 "2018-10-30T15:21:56Z")

</div>

Tech support is currently working to assist you on the ticket you submitted.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [November 9, 2018, 11:11pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/7 "2018-11-09T23:11:42Z")

</div>

For those acquiring a token through the FB API explorer, please select the “user access token” and insert that raw token in the Wowza Streaming Engine REST API.

---

<div class="post-metadata">

**Author:** ![Priyanka\_ME](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka\_ME](https://community.wowza.com/u/Priyanka_ME)\
**Post date:** [November 12, 2018, 5:59am UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/8 "2018-11-12T05:59:24Z")

</div>

Still I didn’t get solution for this, as a 1st version of our project we are implemented in another way for FB using “stream key”.

---

<div class="post-metadata">

**Author:** ![Priyanka\_ME](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka\_ME](https://community.wowza.com/u/Priyanka_ME)\
**Post date:** [November 12, 2018, 6:01am UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/9 "2018-11-12T06:01:01Z")

</div>

This is not a right solution. Still I didn’t get solution for this, as a 1st version of our project we are implemented in another way for FB using “stream key”.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [November 12, 2018, 6:20pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/10 "2018-11-12T18:20:56Z")

</div>

I appreciate your update [@Priyanka ME](http://community.wowza.com/community/questions/49500/unable-to-stream-from-wowza-stream-engine-to-faceb.html?childToView=49712#). I just spoke with the engineer that had been assigned to support ticket 27984617 you had submitted for this issue.

He had tried to reach you several times after initial conversation and closed the ticket due to no response. If you still require assistance, a new ticket would have to be submitted. Do we have your correct email address for contact? Is it the same email address that is still related to this forum account?

I’d also like to share that the engineer reported we can try to assist you with the other way you implemented your project and acquired a FB token or stream key, but we can only assist with non-Wowza workflows or 3rd party options to a certain degree. They’d like to take a look though and get more info in a new ticket.

Thank you.

---

<div class="post-metadata">

**Author:** ![Priyanka\_ME](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Priyanka\_ME](https://community.wowza.com/u/Priyanka_ME)\
**Post date:** [November 13, 2018, 5:35am UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/11 "2018-11-13T05:35:34Z")

</div>

ok sure. Thanks for your response @Rose Power. This is my contact email [yali.priyankam@gmail.com](mailto:yali.priyankam@gmail.com).

If your support team is ready to explain regarding ‘getting access token for Facebook account’, we are very much glad to get it. Kindly proceed with the new ticket and assist with us.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [November 13, 2018, 3:14pm UTC](https://community.wowza.com/t/unable-to-stream-from-wowza-stream-engine-to-facebook-rest-api/52215/12 "2018-11-13T15:14:59Z")

</div>

Great! That’s the email we have on file. A support ticket has to be opened by the customer and not me. Sorry about that. You can submit a new one here and we’ll take another look. Thanks @Priyanka ME.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
