Link, name, caption and description are not in FBNativeDialogs

I just updated an iPhone app that supports iOS Facebook SDK 3.1 sharing. Previously, we showed Poping Popup, where we could pass the "link", "name", "signature", "description". But now there is only one text input in the pop-up pop-up menu of iOS, "initialText".

[FBNativeDialogs presentShareDialogModallyFrom: self initialText : @ "Status Message" Image: zero URL: zero Handler: zero]

How can we get the previous format (with "link", "name", "caption", "description") in iOS sharing?

Thanks in advance.

+4
source share
1 answer

I fixed it with Karthikeyan

I will only post the link parameter in iOS 6. Suppose the link is " http://example.com/sharingpage "

And then on the webpage we will dynamically change the following parameters. og: og name: og description: og url: image

after we share the link through our own iOS 6 pop-up window, facebook itself will accept the following values ​​from this link and show it in our message, which we shared on the Facebook wall.

+2
source

Source: https://habr.com/ru/post/1437125/


All Articles