facebook feed dialog - ignores name parameter in iOS

I migrated my app to the facebook v4 plugin, and the “feed” dialog is not behaving as expected. 

my code is:

local dialogOptions = {

    name = “A message for the title”, – the bold blue text at the top

    caption = “A caption”,                   – appears beneath the name

    description = “A description”,        – appears beneath the caption

    picture = self.shareImagePath,

    link = "https://apps.facebook.com/<our_app>/",

    ref = tostring(shareTypeNumber)

}

facebook.showDialog(“feed”, dialogOptions)

In both Android and iOS, the caption field is ignored.

In iOS only, the name field is ignored. 

This implementation is what used to work for the older plugin, and it conforms to Facebook’s docs:

https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.5

What do I need to do to make this work? Especially the name field?

Hi stanga,

Facebook-v4 changes the sharing model for content. It’s now based on the type of content you wish to share. You’ll want to alter your call to facebook.showDialog() as described here.

I tried using the share dialog, but id doesn’t seem to work for me either (the title and description parameters are completely ignored).

here’s my code:

local dialogOptions = {

app_id = self.FB_APP_ID, – TODO needed?

title = message,

    description = “A description”,

    picture = self.IMAGES_URL,

    link = "https://apps.facebook.com/<our_app_page>",

    ref = tostring(shareType)

}

facebook.showDialog(“link”, dialogOptions)

Since Facebook still supports the “feed” dialog, Corona should too.

If you could just fix the “name” parameter for iOS, it would be perfect and allow us to keep using the “feed” dialog as we wish… 

Hi stanga,

Are the title and description parameters still ignored if you remove the app_id parameter? app_id isn’t a valid parameter for facebook.showDialog(“link”, {}).

I agree that the “feed” dialog should be properly supported in Facebook-v4, but according to Facebook’s docs, it not quite as simple as just opening up the “name” parameter. It’s been added to our queue.

Even if I remove the app_id parameter it’s the same behavior:

On iOS, the title and description are ignored and on Android the title is ignored. 

Thanks for your help, I hope this is solved soon…

Hi stanga,

Facebook-v4 changes the sharing model for content. It’s now based on the type of content you wish to share. You’ll want to alter your call to facebook.showDialog() as described here.

I tried using the share dialog, but id doesn’t seem to work for me either (the title and description parameters are completely ignored).

here’s my code:

local dialogOptions = {

app_id = self.FB_APP_ID, – TODO needed?

title = message,

    description = “A description”,

    picture = self.IMAGES_URL,

    link = "https://apps.facebook.com/<our_app_page>",

    ref = tostring(shareType)

}

facebook.showDialog(“link”, dialogOptions)

Since Facebook still supports the “feed” dialog, Corona should too.

If you could just fix the “name” parameter for iOS, it would be perfect and allow us to keep using the “feed” dialog as we wish… 

Hi stanga,

Are the title and description parameters still ignored if you remove the app_id parameter? app_id isn’t a valid parameter for facebook.showDialog(“link”, {}).

I agree that the “feed” dialog should be properly supported in Facebook-v4, but according to Facebook’s docs, it not quite as simple as just opening up the “name” parameter. It’s been added to our queue.

Even if I remove the app_id parameter it’s the same behavior:

On iOS, the title and description are ignored and on Android the title is ignored. 

Thanks for your help, I hope this is solved soon…