fatganz
fatganz

Reputation: 409

Send dialog doesn't work in page tab

Send dialog doesn't work in iframe page tab.

did as in example on 'Send Dialog' page https://developers.facebook.com/docs/reference/dialogs/send/

<html xmlns:fb="https://www.facebook.com/2008/fbml">
  <body>
    <script src="http://connect.facebook.net/en_US/all.js"></script>
    <div id="fb-root"></div>
    <script>
      // assume we are already logged in
      FB.init({appId: '123050457758183', xfbml: true, cookie: true});

      FB.ui({
          method: 'send',
          name: 'People Argue Just to Win',
          link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
          });
     </script>
  </body>
</html>

But this returns error:

API Error Code: 3
API Error Description: Unknown method
Error Message: Unknown method

but when change to 'feed' dialog everything works perfectly.

Upvotes: 1

Views: 2435

Answers (1)

ifaour
ifaour

Reputation: 38115

There's a filed bug about it here. One solution is suggested though is to use display: 'popup'

Upvotes: 4

Related Questions