MAXSTEELTURBOGO / facebook-actionscript-api

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

WebDelegate.onDataComplete response data not always text, causes empty responses to some calls #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upload a photo using an UploadPhoto post.
2. View the response in WebDelegate.onDataComplete.
3. The event target data is an URLLoader but the type is binary instead of
text.
4. The data passed down the chain to the FacebookEvent.COMPLETE listener
for the call is then null.

What is the expected output? What do you see instead?
Type should be text so that the cast to String does not become null.

What version of the product are you using? On what operating system?
Flash player 10 debug in Firefox 3.08 on Win XP.

Please provide any additional information below.
Instead of casting to String, using toString() works. Perhaps the type is
binary because binary data was uploaded in the first place. The response is
actually text though.

Original issue reported on code.google.com by stevensh...@gmail.com on 7 Apr 2009 at 4:03

GoogleCodeExporter commented 9 years ago
I've verified that this is fixed in the 3.1 build of FAA.

Original comment by adamp...@gmail.com on 28 Apr 2009 at 2:29

GoogleCodeExporter commented 9 years ago
New release based of Facebook's Graph API is coming soon.  SDK which this issue 
depends on is no longer supported by Facebook.

Original comment by alan...@gmail.com on 29 Sep 2010 at 7:49