I am using fb.ui to share information but apparently user cannot choose where they want to post their information ie their page or timeline like sharer.php has. I could pass the page_id but its not fixed.Different users have their different page_id and multiple pages too.

Any suggestions?

This is what I have right now.

   FB.ui(
 {
 method: 'feed',
 name : '" . $fb_title . "',
 link: '" . $url . "',
 picture     : '$image',
 description : '" . $fb_synopsis . "',
 message     : '" . $fb_synopsis . "'

},

有帮助吗?

解决方案

The feed dialog is not meant to share to other profiles, it is only meant to share stuff on your own wall.

You either need to use sharer.php or take a look at the send dialog:

https://developers.facebook.com/docs/reference/dialogs/send/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top