What steps will reproduce the problem?
1. WebSession requesting friends.
What is the expected output? What do you see instead?
A list of friend Ids returned. An error.
What version of the product are you using? On what operating system?
r309, Mac 10.5.7, Flex Builder
Please provide any additional information below.
I have an embedded Facebook app. Running the app with a
DesktopSession ran fine. Not so with the WebSession, it gave 104
errors, meaning the session signature is wrong (so the signature
Facebook computes is different from the signature the local app
computes).
I traced this to com.facebook.session.WebSession.post().
Remove the line:
addOptionalArguments();
The above method adds "ss=true" to the query URL. Since this is (for
reasons I don't understand) not added to the signature hash on
Facebook's servers, the call fails. Removing the method removes the
extra arguments, and then the call works.
Original issue reported on code.google.com by dionjw on 28 Jul 2009 at 8:47
Original issue reported on code.google.com by
dionjw
on 28 Jul 2009 at 8:47