Facebook access token, session key, sig, and uid -
i'm new facebook api apologies basic.
how find access token, session key, sig, , uid? also, when refer 'secret' mean api's secret key?
thank you
in html page, include following code
fb.init({ appid : 'yourappid', status : true, cookie : true, xfbml : true });
once add code. facebook sets cookie on domain. name of cookie fbs_yourappid .
you can read cookie , access token, session key, sig, , uid.
alternately can use method provided facebook api connect.js file feed if user logged in.
fb.api(). please refer http://developers.facebook.com/docs/reference/javascript/fb.api/ know more method.
do not forget add facebook connect.js file
secret , app secret different.
hope info helps.
happy coding :)
Comments
Post a Comment