How can I download a video from Facebook using Gra

2020-02-26 13:07发布

I want to download a video from facebook to the clients local drive. I saw a few browser plugins and Facebook apps that are able to that and I was wondering how it can be done using the GraphAPI or in any other way.

4条回答
贪生不怕死
2楼-- · 2020-02-26 13:45

First, you get the Graph API object. If the object is public, it's simple, just get https://graph.facebook.com/10151651550011063. (Where the number is the object's ID, equal to the ?v=OBJECTID in the facebook video URL.)

If the object is not public, you need a valid access_token, and the Graph API url becomes something like https://graph.facebook.com/10151651550011063?access_token=DFSDSGSFDGFGDSblabla

Then, in the Graph API object, you'll find the video download link under source.

查看更多
闹够了就滚
3楼-- · 2020-02-26 13:48

You cannot download videos using api.
You can just get there links,likes,comments etc.

查看更多
该账号已被封号
4楼-- · 2020-02-26 13:58

$idPage/feed?fields=message,link,created_time,type,name,id,source

source => will return url mp4 video post

查看更多
够拽才男人
5楼-- · 2020-02-26 14:02
登录 后发表回答