Verifying The Signature in facebook application via $_GET['fb_sig']

UNBREAKABLE
UNBREAKABLE used Ask the Experts™
on
Can someone tell me which of the following fb_sig parameters should I send to my php script?

[fb_sig_app_id] => 12558585366
[fb_sig_in_canvas] => 1
[fb_sig_request_method] => GET
[fb_sig_friends] => 4,6,... (removed my friend list for privacy)
[fb_sig_position_fix] => 1
[fb_sig_locale] => en_US
[fb_sig_in_new_facebook] => 1
[fb_sig_time] => 1221071115.1896
[fb_sig_added] => 1
[fb_sig_profile_update_time] => 1220998418
[fb_sig_user] => 2901279
[fb_sig_session_key] => 9a7e04226b1a3c85823bfafd-2901279
[fb_sig_expires] => 0
[fb_sig_api_key] => 650503b8455d7ae1cd4524da50d88129
[fb_sig] => xxxxxxxxxxxxxxx

I've tried every posible permutation, I've read every piece of paper available on net and still without success.
I wolud be very grateful if someone answer my question.

Regards.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Forgot to post.
I solved the problem 7 days ago.

It seems that facebook team change the parameters composing the fb_sig key from time to time:

I've used this script to extract all parameters:


            var fb_sign_vars:String = "";
    var fb_userpresent:Boolean = false;
    var keyStr:String;
    var valueStr:String;
    for (keyStr in _root) {
      if(keyStr.indexOf("fb_sig") == 0) {
        if(keyStr == "fb_sig_user")
          fb_userpresent = true;
        valueStr = String(_root[keyStr]);
        fb_sign_vars += keyStr + "=" + valueStr + "&";
      }
    }
   
    fb_sign_vars_TextBox.text=fb_sign_vars;

Here is the list of all required parameters:

fb_sign_vars=
&fb_sig=oufhsuoheewerbbbfe9
&fb_sig_app_id=rwrrrewrwer345
&fb_sig_api_key=57gertertrtttttyj
&fb_sig_ext_perms=auto_publish_recent_activity
&fb_sig_ss=dtryrttyuyiooplkuii
&fb_sig_session_key=hdrtyrtyrtyrtykkizzser
&fb_sig_user=987100098
&fb_sig_expires=995999544
&fb_sig_profile_update_time=201459733
&fb_sig_added=1
&fb_sig_time=1054054.8544
&fb_sig_in_new_facebook=1
&fb_sig_locale=en_US&
Unbreakable:
You did not comment on the link I gave.
Therefore nobody could help you until you stated if this link was useful or not.

When you are posting a question here, the posts that will come might be questions or suggestions. You are somehow expected to answer to these.

Not sure the link would have helped you in your case... but just complaining about EE is probably not the most useful reaction.

The answer you gave will most probably be useful to others with a similar problem, so you are also contributing to this site!

CAUTION: check if some of the 'key' data should be masked, moderators will be able to edit your posts if needed.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial