AnthonyLins / facebook-actionscript-api

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

post in user wall with actions don't work #404

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. login into facebook
2. call Facebook.api ("/feed..." with actions in params
3. "Error #2032: Stream Error. URL: https://graph.facebook.com/feed"

Code

public function testPostIntoWall():void
{

var params:Object = {
 caption: "caption",
 name: "name",
 message: "hello fb3",
 object_attachment: "10150617167115833"
};

params.actions=[{ name:"test", link: "http://google.com" } ];

Facebook.api("/feed", onMessagePosted, params, "POST");

}                               

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

The expected result is a post in the user wall with an action link, but got the 
error, if actions is commented out, works fine.

I got the following permissions publish_stream, user_photos, publish_actions, 
photo_upload

I'm developing a facebook web application using sdk 1.8.1

Any ideas?

Thanks

Please provide any additional information below.

Original issue reported on code.google.com by key...@gmail.com on 20 Jan 2012 at 9:46