facebook-node-sdk icon indicating copy to clipboard operation
facebook-node-sdk copied to clipboard

Node.js SDK for the Facebook API

Results 24 facebook-node-sdk issues
Sort by recently updated
recently updated
newest added

var express = require('express'); var Facebook = require('facebook-node-sdk'); var app = express(); var pic; var cover; var data; app.configure(function () { app.use(express.bodyParser()); app.use(express.cookieParser()); app.use(express.session({ secret: 'password' })); app.use(Facebook.middleware({appId:'my app id...

HI guys, I follow this example.. var express = require('express'); var Facebook = require('facebook-node-sdk'); var app = express.createServer(); app.configure(function () { app.use(express.bodyParser()); app.use(express.cookieParser()); app.use(express.session({ secret: 'foo bar' })); app.use(Facebook.middleware({ appId:...

When making calls to /oauth/access_token to extend the access token the response is a query string instead of json object, so the graph api call fails at line 680 in...

`require()` with `__dirname` causes problems with browserify. Browserify is used by https://github.com/jaws-framework/JAWS for deployment to AWS Lambda.

In the function _BaseFacebook.prototype.getCurrentUrl_ instead of **var path = req.url;** there must be **var path = req.originalUrl;**

It seams that the function BaseFacebook.prototype.hasCookie crash: > TypeError: Object object has no method 'hasOwnProperty' Correction : > BaseFacebook.prototype.hasCookie = function(key) { > return this.request && this.request.cookies && Object.prototype.hasOwnProperty.call(this.request.cookies, key);...

In BaseFacebook I see 2 methods that blindly do something like `headers['x-forwarded-host'] || headers.host`. The `x-forwarded-host` is not trustworthy, it can only be trusted if you know that there is...

the header redirect do not work under iframe, as a result login redirect will not work for the app on facebook.com. I updated the redirect from header to javascript in...

As Express 4 has been released I updated the example from Express3