# How to generate facebook token for Wowza rest API to create facebook target.

**URL:** <https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294>\
**Category:** Wowza Streaming Engine\
**Created:** [November 9, 2018, 3:52pm UTC](https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294 "2018-11-09T15:52:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamsheer\_Thottathil](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jamsheer\_Thottathil](https://community.wowza.com/u/Jamsheer_Thottathil)\
**Post date:** [November 9, 2018, 3:52pm UTC](https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294/1 "2018-11-09T15:52:28Z")

</div>

I want to create dynamic facebook target through the Wowza REST API, but I am getting internal server error while opening the target option after creating the target using REST API.

I have created facebook access token by using facebook token explore tools itself.

I had tried with both user access token and app token of facebook.

Please let me know if you have any clue regarding the same.

Thanks,

Jamsheer

---

<div class="post-metadata">

**Author:** ![Jamsheer\_Thottathil](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@Jamsheer\_Thottathil](https://community.wowza.com/u/Jamsheer_Thottathil)\
**Post date:** [November 9, 2018, 3:52pm UTC](https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294/2 "2018-11-09T15:52:30Z")

</div>

[http://community.wowza.com/community/questions/45283/facebook-live-with-wowza.html](http://community.wowza.com/community/questions/45283/facebook-live-with-wowza.html)

similer question available here.

---

<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:04pm UTC](https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294/3 "2018-11-09T23:04:40Z")

</div>

Thanks @Jamsheer Thottathil for sharing this. Can you please share the error code you are receiving?

Also, just making sure you did these two things already ( this is from our Wowza Docs):

**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:** [November 9, 2018, 11:05pm UTC](https://community.wowza.com/t/how-to-generate-facebook-token-for-wowza-rest-api-to-create-facebook-target/52294/4 "2018-11-09T23:05:16Z")

</div>

I look forward to your response so I can identify the issue for you. Thank you.
