Question

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 . "'

},

Was it helpful?

Solution

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top