[Facebooker-talk] No 'secret' returned by facebook.auth.getSession
Jacob Refstrup
jacob.refstrup at hp.com
Wed Jan 14 00:35:37 EST 2009
(also posted at http://forum.developers.facebook.com/viewtopic.php?id=26779)
Hi,
Caveat:- New to facebook apps so it's possible that I've made some
silly/obvious (except to me) mistakes...
Downloaded facebooker (ruby gem) and followed instructions to get write
a simple desktop app.
I manage to authorize the app as my facebook user (i.e.
facebook.auth.createToken worked and
login.php?api_key=xxx&v=1.0&auth_token=xxx also worked).
Now when the desktop app continues I try a facebook.auth.getSession and
I get back session_key, uid and expires. But I don't get back a secret
which is what I'm supposed to sign future requests.
In theory getSession is supposed to be done with https - but right now
facebooker doesn't support that. Is that the cause of my troubles or is
there something else I should try?
If the facebook.auth.getSession includes a generate_session_secret=true
then I do get back a secret; but subsequent authentication fails
(signature invalid).
Any help is appreciated,
- Jacob
More information about the Facebooker-talk
mailing list