Solved

How calculate a facebook post parameter

Posted on 2015-02-02
4
822 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] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

690 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