How can I post text in Facebook feed dialog?

I use Facebook feed dialog and I want to post some rows with it on user’s FB wall.
I tried:
[lua]facebook.showDialog( “feed”, {message = “This my text”} )[/lua]

or this code:
[lua]local text_arr = {}
text_arr.text = “This is my text”
facebook.showDialog( “feed”, { properties = text_arr } )[/lua]

Both of them don’t post the text. How can I do it? Thanks [import]uid: 172733 topic_id: 33705 reply_id: 333705[/import]

Here’s my example that works

facebook.showDialog( "feed", {  
 app\_id = your\_fb\_appID,  
 to = friends\_facebook\_id,  
 title = "My feed post title",  
 link = "http://www.mywebsite.com",  
 name = "My post name",  
 caption = "Here is the main message text",  
 picture = "http://somewebsite/apicture.png",  
 description = "Another description"  
  
 })  
  

If you leave the “to” field blank I think it defaults to your own page.
Here are the list of fields (see the properties table): https://developers.facebook.com/docs/reference/dialogs/feed/

The only return data I have ever got is
event.response == “fbconnect://success”
and
event.response == “”

Hope that helps :slight_smile: [import]uid: 84115 topic_id: 33705 reply_id: 134151[/import]

The various Facebook API bit have specific requires for what information is passed to them.

 params = {  
 link="http://where.you/want/to/link/to",  
 picture="http://link.to/your/icon.png",   
 name="Title",  
 caption="Sub Title",  
 description="Text of what you want to say"  
 }  
 facebook.showDialog( "feed",params)  

Many of those are optional, like if you don’t want to use an icon, leave the picture out.

Give that a try! [import]uid: 199310 topic_id: 33705 reply_id: 134154[/import]

Here’s my example that works

facebook.showDialog( "feed", {  
 app\_id = your\_fb\_appID,  
 to = friends\_facebook\_id,  
 title = "My feed post title",  
 link = "http://www.mywebsite.com",  
 name = "My post name",  
 caption = "Here is the main message text",  
 picture = "http://somewebsite/apicture.png",  
 description = "Another description"  
  
 })  
  

If you leave the “to” field blank I think it defaults to your own page.
Here are the list of fields (see the properties table): https://developers.facebook.com/docs/reference/dialogs/feed/

The only return data I have ever got is
event.response == “fbconnect://success”
and
event.response == “”

Hope that helps :slight_smile: [import]uid: 84115 topic_id: 33705 reply_id: 134151[/import]

The various Facebook API bit have specific requires for what information is passed to them.

 params = {  
 link="http://where.you/want/to/link/to",  
 picture="http://link.to/your/icon.png",   
 name="Title",  
 caption="Sub Title",  
 description="Text of what you want to say"  
 }  
 facebook.showDialog( "feed",params)  

Many of those are optional, like if you don’t want to use an icon, leave the picture out.

Give that a try! [import]uid: 199310 topic_id: 33705 reply_id: 134154[/import]