Matteo Gavagnin
2009-Sep-29 21:34 UTC
[Facebooker-talk] Connect to a Facebooker app from iPhone
I''m trying to connect my iPhone application to a Facebooker application i developed. The problem is that trought facebook connect for iPhone i can connect to Facebook with correct signature, but it fails with facebooker. I want to know if there is a list of compulsory parameters to pass to facebooker to get the session autenthicated. I think that i have to create a fb_sig hash with the parameters ordered by name and without the fb_sig_ prefix, so it''s different from connecting to facebook (the params don''t have the fb_sig). But actually i cannot get it working. I get - InvalidAuthenticityToken Parameters: {"v"=>"1.0", "ss"=>"1", "session_key"=>"SESSION_KEY- USER_ID", "method"=>"facebook.fql.query", "api_key"=>"API_KEY", "fb_sig"=>"f64155fcd1927710bc788120638e7265", "call_id"=>"1254257953", "query"=>"select name from user where uid == USER_ID"} - Redirected to http://www.facebook.com/login.php?api_key=API_KEY&v=1.0&next=%2Fdevices%2Fuser With Parameters: {"v"=>"1.0", "ss"=>"1", "session_key"=>"SESSION_KEY- USER_ID", "method"=>"facebook.fql.query", "api_key"=>"API_KEY", "fb_sig"=>"33bce9f3e5dd47d877dae7f31d556bec", "call_id"=>"1254258185", "query"=>"select name from user where uid == USER_ID"} - Swapping facebooker config: ''API_KEY'' - Swapping facebooker config: '''' Do you have any idea? Should i try another method of authentication? Thanks, Matteo