Частичное отключениеshare-external
FB.ui return response immediately
4

When calling FB.ui() as shown below

  FB.ui({
    display: 'popup',
    method: 'share',
    href: result.link,
  }, response => {
    callback(response);
  });

In some environments, the share dialog appears well, but FB.ui() return response immediately( callback() called immediately ) while the share dialog is not closed. The response value is an empty string.

additionally, In an environment where response returned collectly, The URL of the share dialog is 'https://www.facebook.com/v15.0/dialog/share?app_id=~~~~~', In an environment where response returned immediately, The URL of the share dialog is 'https://www.facebook.com/share_channel/'.

박원형
Вопрос задан около 8 мес. назад
박원형

Environment where problems occur

macOS 12.6, chrome 122.0.6261.129

4 апреля в 00:52