How to attach a file to Fb.api? · Issue #102 · Thuzi/facebook-node-sdk

Hello, I want to upload a picture to an album. Here is my code: FB.api(folderId + '/photos', 'post', {"source": fs.createReadStream(filePath)}, function (res) { if(!res ||...

2 Jun 2015 ... Hello, I want to upload a picture to an album. Here is my code: FB.api(folderId + '/ photos', 'post', {"source": fs.createReadStream(filePath)} ...

Lee mas