質問

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