Skip to content

Category: Facebook

1 min readFacebook1 comment

Facebook Graph API – upload photo using JavaScript from local computer

Hi everyone, recently I encountered a problem with uploading photos to Facebook using Graph API with JavaScript. And there were no working solutions on Stack Overflow nor some example in official Facebook documentation. So I have to figure out something, and here is how I do it: $(‘#button_upload’).click(function (e) { e.preventDefault(); // Get file object … Continue reading Facebook Graph API – upload photo using JavaScript from local computer