If you are developing a standalone client application, and not a website, I would not use my Javascript API, because it assumes that it runs on some website.
You might be lucky with the unofficial Node.js API , since node -webkit allows you to make calls to any Node.js library from the DOM.
If you still do not succeed, try logging in to the user by submitting the login page to the <iframe> . You can then make HTTP calls through AJAX or through Node.js HTTP APIs to directly access Facebook’s internal APIs.
Tobia source share