MAXSTEELTURBOGO / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Incorrect signature problem #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use fbAs3Api.swc lib
2. Create a new project by using example source: 
Facebook_Flex_example.mxml and also with fbas3api_sample_air.mxml
3. When launching the flex or the air app, I got the incorrect signature 
problem message after logging into Facebook

What is the expected output? What do you see instead?
Incorrect signature problem message

> > > calling method [direct]: facebook.friends.get
< < < received facebook reply [direct]:
{"error_code":104,"error_msg":"Incorrect signature","request_args":
[{"key":"session_key","value":"2.RdmNb4YpTNaFSbCTecbsCg__.86400.1235149200-
1576241726"},{"key":"v","value":"1.0"},{"key":"format","value":"JSON"},
{"key":"call_id","value":"12350619291992"},
{"key":"sig","value":"0bcb01458e9fe0ed4dfe0f8c13b058ee"},
{"key":"method","value":"facebook.friends.get"},
{"key":"api_key","value":"356a34e9d6217e2116fcf0e47c04cb5e"}]}
error making call: 104|Incorrect signature

What version of the product are you using? On what operating system?
v2_0.1.0

Please provide any additional information below.
I got the same error message with flex and air app.

Original issue reported on code.google.com by tyri...@gmail.com on 19 Feb 2009 at 4:50

GoogleCodeExporter commented 9 years ago
Sorry, my mistake, problem is solved: I had to set on facebook developer site 
that 
the application is a desktop one, thus I can test it on my computer.

However if I copy it on a website and embedd into facebook will it work with 
web 
application setting?

Original comment by tyri...@gmail.com on 19 Feb 2009 at 5:09

GoogleCodeExporter commented 9 years ago
Yes it will.  If you set your application type to "desktop" then you will be 
able to
operate it on both desktop and web.

Original comment by jcr...@tickets.com on 19 Feb 2009 at 5:21

GoogleCodeExporter commented 9 years ago
I'm having the same issue, with the most recent api. And it works fine in a 
Facebook
canvas but not in an application tab. Do I need to pass it extra flashvars to 
make it
work? I'm using FBML to show the swf. IFrame does seem to work. Any help on this
would be great!

Original comment by mosaic...@gmail.com on 8 May 2009 at 10:27

GoogleCodeExporter commented 9 years ago
I am seeing something similar. 

My app works fine if I am already logged into facebook, but if I'm not when I 
try to
hit FacebookSessionUtil.login it gives me "error incorrect signature." 

It can be made to work *if* hardcode the API and secret key, which everyone 
says is a
no-no.

My code is based around
http://www.adobe.com/devnet/facebook/articles/deploy_your_first_facebook_app_05.
html
, am I missing something?

Original comment by briani...@gmail.com on 13 Jul 2009 at 3:30