Solved

How calculate a facebook post parameter

Posted on 2015-02-02
4
820 Views
Last Modified: 2015-03-05
Hi Experts, when we login on facebook, the login form post a parameter called "qsstamp". The value of this parameter is calculated by a javascript, something like this: W1tbNCw0OCw1MCw2NSw2NiwxMDMsMTU3LDE1OSwyMDAsMjI1LDIyOCwyNTcsMjU4LDI3NCwyOTMsMjk4LDMwMywzMTksMzI4LDM0NSwzNTYsNDIwLDQyOSw0NjMsNDg1LDQ5MCw0OTMsNDk0LDUxMSw1MTgsNTI3LDUzOSw1NDQsNTUyLDU3MSw1ODcsNTk1LDYwMiw2MTIsNjI5LDY2Niw3MjRdXSwiQVpsWjY5dzdhN29jLVFrYS14djlYVWZZSlFZMy05dnliQm10RkdUYjc4UWRENVpoVlVBRUVCZUdCMXRoQnRwTDRrbE9uRWtNY3RnUEZNcUswSzBmT3hTQjV0RDRDQXJ2V29GV1F1NkV3QmlRYUVPbkxvejJla2ROWXc5WXE1eUZabk43ejZNb0p1d2ZsbDh5VXJPUlRqQ2pfRmhsVFI1bDktUUYxa0FsN0VxRzU3TTJodlRoUnhFRlFaTXpWRkxZVmtQN1VlNV9rU0lVSHRRcWYwQWwxc3V5UFFGaS1qRTgzNlZ0SnU5Q01TTWtIZyJd

I could not figure out how this value is calculated. Could someone help me?

Thanks
Alexandre
0
Comment
Question by:alpires
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 40583872
that is a proprietary algorithm they are using.  that's like asking whats the secret ingredient in a recipe. Highly Highly doubtful your going to find that algorithm :(
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 40583888
I would recommend that you start here with the faceBook API and SDK

https://developers.facebook.com/docs/javascript/reference/FB.api
0
 

Author Comment

by:alpires
ID: 40584632
But this value is calculated on the client side?
0
 
LVL 22

Accepted Solution

by:
plusone3055 earned 500 total points
ID: 40588492
The value is more than likely caculated on the client side after making calls to the Server
my apologies for my communication being unclear.
 after running  through the SDK and API it doesn't look like They  reveal how that algorithm is calculated.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question