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

This doesn't seem to work at all...

Open tarnfeld opened this issue 14 years ago • 2 comments

I don't seem to be able to get this to work at all with the current Facebook JS API. First off, the getSessionFromCookie function uses the cookie prefix "fbs" where its now "fbsr".

Though I have tried changing that and I don't seem to be able to get this var session = qs.parse(cookie); to decode the cookie, if I console.log(session); I just get an object with the same encrypted string in that the cookie has.

Anyone else having this issue? I don't know enough about node to get digging :(

tarnfeld avatar Jan 08 '12 09:01 tarnfeld

@tarnfeld: Unfortunately, you are right. Personally, I haven’t used this library in a while but since it’s direct port of the official Facebook Python SDK which has been deprecated, it also stopped working. Feel free to issue a pull request or fork the project.

gasi avatar Jan 09 '12 08:01 gasi

Alright, thanks ;) I needed a lib for a quick hack project so havnt had the chance to write a fix for this, though maybe when I get a chance I will!

Sent from my iPhone

On 9 Jan 2012, at 08:20, Daniel [email protected] wrote:

@tarnfeld: Unfortunately, you are right. Personally, I haven’t used this library in a while but since it’s direct port of the official Facebook Python SDK which has been deprecated, it also stopped working. Feel free to issue a pull request or fork the project.


Reply to this email directly or view it on GitHub: https://github.com/gasi/node-facebook-graph/issues/3#issuecomment-3408528

tarnfeld avatar Jan 09 '12 08:01 tarnfeld