2016年6月6日星期一

[Go live with Facebook Live API] Step 1: Register your app and set permission

In order to play with Facebook Live API,  you need to have a app first. It's free to register here: https://developers.facebook.com/apps/


Note: your test app must be in “publish” mode. If the app is in 'dev' mode, the post can only be seen by the app admins even you set the privacy as 'public'. You can do following things to get your test app out of 'dev' mode:

  1. Go to your app setting tab, add your contact email there
  2. Then go to the app review tab, flip the toggle at the top to take it out of development mode

After you have your app ready, you can come to Graph API Explorer: https://developers.facebook.com/tools/explorer/ and configure your app permission there.
  • Set 'Application' to your app or our test app.


  • Grant permission by clicking the 'Get Token' button. If you are posting to your timeline, select “Get Access Token” with only 'user_videos' selected
  • If you are posting to your page, select “Get Page Access Token” and also select 'manage_pages' and 'publish_pages'.

  • If you are posting to group, select group permission also


 Then in the pop-up window, click OK to authorize the APP.




Setup your app and permission well. You can play with Live API now.


























没有评论:

发表评论