node-facebook / facebook-node-sdk

Modeled from the (Facebook Javascript SDK), now with the facebook-node-sdk you can now easily write the same code and share between your server (nodejs) and the client (Facebook Javascript SDK).
Other
529 stars 114 forks source link

how can we upload resumeable videos using this library. #132

Open usamamashkoor opened 6 years ago

usamamashkoor commented 6 years ago

Hi i am new to node js can some one let me know how can i do resume able video uploads to facebook using node js.

i have tried to search the documentation but could not find anything related to this.

Thanks

dantman commented 6 years ago

Please read Facebook's documentation on how to use their Graph API: https://developers.facebook.com/docs/graph-api/video-uploads

This library just lets you make API calls to the Graph API, it doesn't document the Graph API itself.

Although looking at the documentation, there might be a problem in that the library doesn't currently have a way to make a call to graph-video.facebook.com instead of graph.facebook.com.

usamamashkoor commented 6 years ago

Thanks @dantman for quick reply can you please suggest a way in which i can make call to graph-video.facebook.com using your library.

dantman commented 6 years ago

That would require a change to the library's API. Right now I'm not sure what that interface should look like. Facebook's Client Side JS SDK doesn't support that to my knowledge so it's hard to decide.