facebook showDialog function message didn't show

facebook.showDialog( “feed”, {message=“test1”,link= “https://itunes.apple.com/us/app/id97” } )

the link show,but the message didn’t show

i must type some text myself on showdialog screen.

Facebook has changed it’s policy.  Dialogs cannot pre-fill the message text.  The user is the only one who can fill that out.  This is expected behavior.

Rob

Hi Rob, 

does this apply to native.showPopup( ) too? All of the sudden the message and URL are not showing up. 

You should not be able to post a pre-filled out message.  An image and URL should still go.

Rob

I tried this again but only the image is going is going through, the URL is not showing up. This is the code im using

local options = { service = "facebook", image = { { filename = "screencap.png", baseDir = system.TemporaryDirectory } }, url = "someURL" } native.showPopup( "social", options ) 

Do you think this is part of the policy change too?

have you tried:   url = { “someurl” }

Technically speaking some services can take multiple URL’s.  Facebook does not.  But I think it’s still expecting a table of URLs.

I tried that as well and it didn’t work.

local options = { service = "facebook", image = { { filename = "screencap.png", baseDir = system.TemporaryDirectory } }, url = { "someURL"} } native.showPopup( "social", options )

Did you use a real URL?

Yes. This is the code on my app: 

local options = { service = "facebook", image = { { filename = "screencap.png", baseDir = system.TemporaryDirectory } }, url = { "http://goo.gl/ZoJTg1"} } native.showPopup( "social", options )

Another thing that i noticed is that my app that is already live in the app store it’s not longer attaching the pre-message( because of the facebook policy change im assuming) and neither the URL. This was working a few weeks back and I haven’t updated it either. 

Facebook has changed it’s policy.  Dialogs cannot pre-fill the message text.  The user is the only one who can fill that out.  This is expected behavior.

Rob

Hi guys,

Did you find a solution to this? We’re getting the same issue of the URL not going through.

Thanks in advance!

 

I was not able to get it to work. I’m assuming facebook doesn’t allow URLs anymore. 

Can you guys post some code?

iOS or Android?

Which plugin are you using?

Version of Corona SDK?

Rob

Actually my code just randomly started working again. My app has been in the appstore for a while and sharing the URL was not working a few weeks back but I checked today again and it’s working fine without making any changes. I’m not sure what changed… 

Hi Rob, 

does this apply to native.showPopup( ) too? All of the sudden the message and URL are not showing up. 

You should not be able to post a pre-filled out message.  An image and URL should still go.

Rob

I tried this again but only the image is going is going through, the URL is not showing up. This is the code im using

local options = { service = "facebook", image = { { filename = "screencap.png", baseDir = system.TemporaryDirectory } }, url = "someURL" } native.showPopup( "social", options ) 

Do you think this is part of the policy change too?

have you tried:   url = { “someurl” }

Technically speaking some services can take multiple URL’s.  Facebook does not.  But I think it’s still expecting a table of URLs.

I tried that as well and it didn’t work.

local options = { service = "facebook", image = { { filename = "screencap.png", baseDir = system.TemporaryDirectory } }, url = { "someURL"} } native.showPopup( "social", options )

Did you use a real URL?