AnthonyLins / facebook-actionscript-api

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

FB.JSON is missing in all.js (FB.JSON.stringify is not a function) #419

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Every call to Facebook(ui/api) are broken.

What is the expected output? What do you see instead?
FB.JSON.stringify is not a function.

What version of the product are you using? On what operating system?
1.8.1
Windows 7

Please provide any additional information below.
Fix FB.JSON in FacebookJSBrige.as

Original issue reported on code.google.com by perreaul...@gmail.com on 9 May 2012 at 10:49

GoogleCodeExporter commented 8 years ago
Facebook changed the name from FB.JSON to JSON. Downloading the source and 
replacing those calls in FacebookJSBridge.as fixes the issue.

Original comment by dennis.r...@gmail.com on 10 May 2012 at 12:16

GoogleCodeExporter commented 8 years ago
Thank you but Facebook solved this bug(if we can call it a bug). FB.JSON is 
back. I don't know why FacebookGraphApi use this function in their js bridge. 
They can do the job without any json encoder...should being done in Flash only 
and js should be serve/receive only the raw data from Facebook....flash object 
== javascript object. 

Original comment by perreaul...@gmail.com on 10 May 2012 at 2:54