# How to create Facebook access token?

**URL:** https://community.wowza.com/t/how-to-create-facebook-access-token/52293
**Category:** Wowza Streaming Engine
**Created:** [November 9, 2018, 3:55pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293 "2018-11-09T15:55:07Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Elgi\_Eldhose](https://avatars.discourse-cdn.com/v4/letter/e/58f4c7/32.png) [@Elgi\_Eldhose](https://community.wowza.com/u/Elgi_Eldhose)
#### Post date: [November 9, 2018, 3:55pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/1 "2018-11-09T15:55:07Z")

</div>

I created an access token of Facebook with app id and secret key.

The generated access token is in the format 477xxxxxxxxx|Pxxxxxxxxxxxxxxxx\_dxxxx-pxx.

But by using this access token in rest api for creating the Facebook target. I got target error.

So When I look on the pushmapfile of wowza , in whichit containes the details of manually create a facebook target with access token in the format

ENC-exxxxxxxx-5xxxxxxxxxxxxxxxxxxx…

So please tell me, how to create an access token for facebook target which is in the required wowza format for creating a facebook streaming?

---

<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, 10:52pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/2 "2018-11-09T22:52:35Z")

</div>

Hello @Elgi Eldhose, may I ask what you used to generate a token? I can share this with you from our Wowza docs:

## 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.

Did you already follow these steps already? Please let me know so I can further assist you. Thanks.

---

<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:40pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/3 "2018-11-09T23:40:36Z")

</div>

May I suggest you refer to this doc as well to make sure all requirements are met? Please do let me know if you still experience an issue.

[https://www.wowza.com/docs/send-a-stream-to-facebook-with-wowza-streaming-engine-rest-api](https://www.wowza.com/docs/send-a-stream-to-facebook-with-wowza-streaming-engine-rest-api)

---

<div class="post-metadata">

### Author: ![Minh\_Hang](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@Minh\_Hang](https://community.wowza.com/u/Minh_Hang)
#### Post date: [January 17, 2019, 5:07am UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/4 "2019-01-17T05:07:16Z")

</div>

same issue with facebook token format. I used Facebook SDK to get user facebook token by call Graph API request.

---

<div class="post-metadata">

### Author: ![Minh\_Hang](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@Minh\_Hang](https://community.wowza.com/u/Minh_Hang)
#### Post date: [January 18, 2019, 12:42am UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/5 "2019-01-18T00:42:07Z")

</div>

Hi Rose,

We have read the document you provided but at the “acquire a facebook access token” section, it doesn’t mention a solution for our issue.

The format of facebook access token is totally different with wowza required access token.

Can you please review the question again? I also submitted a support a ticket yesterday.

This piece of work is very important for our application.

Thank you

Regards,

Minh

---

<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: [January 18, 2019, 7:40pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/6 "2019-01-18T19:40:22Z")

</div>

I am checking with engineers on any potential updated solutions and I will respond again shortly. Thank you for your patience @Minh Hang.

---

<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: [January 18, 2019, 8:09pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/7 "2019-01-18T20:09:31Z")

</div>

There is a known issue with access tokens for FB stream targets created via the REST API and being accepted by the FB API. Our engineers are looking into it. If you need additional assistance right away, please open a support ticket. We are sorry for any inconvenience and are looking to resolve this asap. I will keep the community informed.

Please know that you can create a FB stream target through the Engine manager if that is a helpful workaround for now.

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

---

<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: [January 28, 2019, 6:10pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/8 "2019-01-28T18:10:29Z")

</div>

Here is an update from our tech support team:

_ **We have made adjustments to account for changes in the Facebook API. There will no longer be an option to connect to Facebook Events, as this option is being deprecated on the Facebook side. But we have adjusted API call filtering to account for the change and clients should no longer be impacted in creating stream targets, if they are please ask them to submit a support ticket.** _

If you still experience issues, please do let me know. Thank you all for your patience.

---

<div class="post-metadata">

### Author: ![Abhishek\_Joshi](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@Abhishek\_Joshi](https://community.wowza.com/u/Abhishek_Joshi)
#### Post date: [April 5, 2019, 10:20am UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/9 "2019-04-05T10:20:48Z")

</div>

Dear Rose,

Same issue with facebook token format. I used Postman to get user facebook token by call Graph API request.

And i read all conversation related to this topic. This issue has been running from long time. @Elgi Eldhose had posted this question on Nov 09, 2018 and It is 2019 but the problem is same.

So please mam share the sollution. This piece of work is very important for application.

Thank you.

---

<div class="post-metadata">

### Author: ![Mudassar\_Ahmad\_Mugha](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@Mudassar\_Ahmad\_Mugha](https://community.wowza.com/u/Mudassar_Ahmad_Mugha)
#### Post date: [April 8, 2019, 4:34pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/10 "2019-04-08T16:34:47Z")

</div>

Hi Rose,

We are facing the exact same problem. Unable to post a live\_video to facebook using the access token acquired from facebook. We followed this article [https://www.wowza.com/docs/send-a-stream-to-facebook-with-wowza-streaming-engine-rest-api](https://www.wowza.com/docs/send-a-stream-to-facebook-with-wowza-streaming-engine-rest-api) as a guide line.

Wowza creates a stream target, but with Error! status.

---

<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: [April 8, 2019, 5:31pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/11 "2019-04-08T17:31:44Z")

</div>

Have you checked this @Mudassar Ahmad Mughal and @Abhishek Joshi?

When creating a Facebook Stream Target using the REST API and your own token, you must make sure that your Facebook app that is creating the token has _Require App Secret_ disabled and then in the Stream Target parameters, you need to set _facebook.useAppSecret_ to false.

Please try setting _facebook.useAppSecret_ to false and see if that resolves your issue.

---

<div class="post-metadata">

### Author: ![Abhishek\_Joshi](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@Abhishek\_Joshi](https://community.wowza.com/u/Abhishek_Joshi)
#### Post date: [April 10, 2019, 4:43am UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/12 "2019-04-10T04:43:18Z")

</div>

Hii mam,

I follwed all condition like require app secret disabled. But this token is not acceptable by wowza api.

Main think is that

The generated access token is in the format 477xxxxxxxxx|Pxxxxxxxxxxxxxxxx\_dxxxx-pxx.

But by using this access token in rest api for creating the Facebook target. I got target error.

So When I look on the pushmapfile of wowza , in whichit containes the details of manually create a facebook target with access token in the format

ENC-exxxxxxxx-5xxxxxxxxxxxxxxxxxxx…

So please tell me, how to create an access token for facebook target which is in the required wowza format for creating a facebook streaming?

Please read it carefully. This is not a new question and this not the problem of required app secret disbaled because i followed every condition.

---

<div class="post-metadata">

### Author: ![Mudassar\_Ahmad\_Mugha](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@Mudassar\_Ahmad\_Mugha](https://community.wowza.com/u/Mudassar_Ahmad_Mugha)
#### Post date: [April 15, 2019, 3:43pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/13 "2019-04-15T15:43:16Z")

</div>

Dear Rose,

I agree with Abhiskek here. We followed the given instructions closely and accurately. The facebook app that we use to generate access token has “Require App Secret” disabled. We are also setting _facebook.useAppSecret_ to false. Wowza creates a stream target, but with Error! status.

Regards,

M

---

<div class="post-metadata">

### Author: ![Ireneusz\_Sobota1](https://avatars.discourse-cdn.com/v4/letter/i/da6949/32.png) [@Ireneusz\_Sobota1](https://community.wowza.com/u/Ireneusz_Sobota1)
#### Post date: [June 12, 2019, 2:56pm UTC](https://community.wowza.com/t/how-to-create-facebook-access-token/52293/14 "2019-06-12T14:56:11Z")

</div>

Any news from wowza developer about push live to facebook case ?
