kennylerma / facebook-actionscript-api

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

FlashWebExample doesn't send post data along to wall #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the FlashWebExample to try to learn this API, build and install.
2. Attempt to perform a Post of a simple message to /me/feed, see only empty 
messages sent regardless of what is typed into the input box.
3. (optional) Pull your hair out for an hour trying to figure out why.

What is the expected output? What do you see instead?

To have seen the actual message/data I'm trying to send to the user's wall 
rather than a blank message appearing.

Please provide any additional information below.

in handleCallApiClick:

   if (requestType == "POST") {
   try {
     JSON.decode(paramsInput.text);
   } 

should be:
   if (requestType == "POST") {
   try {
     params = JSON.decode(paramsInput.text);
   } 

so the call to:

Facebook.api(methodInput.text, onCallApi, params, requestType); 

...actually does something. This works for me now, I can only assume this is 
what was intended? Please advise if I should be doing something differently.

Original issue reported on code.google.com by dtdtra...@gmail.com on 16 Dec 2010 at 7:56

GoogleCodeExporter commented 9 years ago
Thank

Original comment by omyimtra...@gmail.com on 17 Dec 2010 at 3:33

GoogleCodeExporter commented 9 years ago
Yes, that was a typo. The fix will be included in the next round of 
updates/patches.
Thanks!

Original comment by edwar...@gmail.com on 12 Jan 2011 at 5:06

GoogleCodeExporter commented 9 years ago

Original comment by edwar...@gmail.com on 6 Oct 2011 at 4:41