2016年6月6日星期一

[Go live with Facebook Live API] Step 3: For professional API developer

If you are a professional api developer, there are also something you might interested in:

Besides creation, the public API supports full CRUD functionalities. You can also

Read the metadata of a live video

  • Via Graph API Explorer


  • Via Curl
 curl -k -X GET https://graph.facebook.com/$live_video_id -F "access_token=$your_user_or_page_token"  

Update the metadata of a live video

  • Via Graph API Explorer


  • Via Curl
 curl -k -X POST https://graph.facebook.com/$live_video_id -F "access_token=$your_user_or_page_token"  

Delete a live video

  • Via Graph API Explorer

  • Via Curl
 curl -k -X DELETE https://graph.facebook.com/$live_video_id   
 -F "access_token=$your_user_or_page_token"  

enumerate live videos of a profile

  • Via Graph API Explore

  • Via Curl
 curl -k -X GET https://graph.facebook.com/$user_or_page_id/live_videos -F "access_token=$your_user_or_page_token"  

Beside those, please access the official documentation for different parameter usage: https://developers.facebook.com/docs/graph-api/reference/live-video/


没有评论:

发表评论