ashishkummar / facebook-actionscript-api

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

Javascript login infinite loop #397

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the javascript login for your flash application
2. Infinite redirection

What is the expected output? What do you see instead?
The game starting. An infinite loop of redirections

What version of the product are you using? On what operating system?
Facebook Flash API 1.8.1  
FlashPlayer 11
Firefox 8.0.1
Windows XP SP3

Please provide any additional information below.
The solution was to change (in the index.html) from 

if (response.session) { //Show the SWF

to

 if (response.authResponse) { //Show the SWF

Hope this to be the last time I have to do integrations with the FacebookAPI... 
: )

Original issue reported on code.google.com by i...@infinityk.com on 20 Dec 2011 at 11:37