stella
unread,Sep 8, 2011, 9:42:47 AM9/8/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Punjab
Hi,
I have managed a web app using strophe + bosh to connect to
facebook chat server. The library is very easy to use. Thx for a ice
piece of work!
I have one question, that is, how to hide app scret key?
In the original Strophe.Connection.prototype.facebookConnect =
function (jid, callback, wait, hold, apiKey, secretKey, sessionKey)
fuction, secretKey is a requred iput parameter.
I see in the facebook.html example (distributed together with
strophe), there is a modified
Strophe.Connection.prototype._sasl_challenge_fb fuction, which makes
it possible to hide the app secret key.
However, it did not work for me.
Could you kindly explain the idea of how to hide the app secret
key?
/Stella