Note that there are some explanatory texts on larger screens.

plurals
  1. POLetting user specify recipients within Feed Dialog
    primarykey
    data
    text
    <p>Currently, our app posts to users' friends' walls via Graph API. However, Facebook is deprecating this functionality so we are migrating to the Feed Dialog per Facebook's recommendations (see the February 6, 2013 section at <a href="https://developers.facebook.com/roadmap/" rel="nofollow">https://developers.facebook.com/roadmap/</a>).</p> <p>Now, we know we can specify the recipient as part of the Javascript SDK call (note FB.init() is called elsewhere earlier on the page):</p> <pre class="lang-html prettyprint-override"><code>&lt;p&gt;&lt;a onclick="launchFeedDialog(); return false"&gt;Testing the Feed Dialog&lt;/a&gt;&lt;/p&gt; &lt;script&gt; function launchFeedDialog() { // calling the API ... var obj = { method: 'feed', to: 'RECIPIENT NAME', // Can specify recipient here link: 'http://example.com', name: 'Test post', description: 'Test description' }; FB.ui(obj); } &lt;/script&gt; </code></pre> <p>However, it does not seem like the user can modify the recipient in the launched dialog. A screenshot of what I mean is at <a href="http://i.imgur.com/oLPTO.png" rel="nofollow">http://i.imgur.com/oLPTO.png</a>.</p> <p>Is there some way of invoking the Feed Dialog so that the user can change/add recipients, like in the Send Dialog?</p> <p>The flow we are trying to implement (and the way it currently is) is:</p> <ol> <li>User clicks a button to launch the Feed dialog</li> <li>User fills in the Feed dialog (including recipient) and submits</li> </ol> <p>Right now, we are stuck with this awkward flow:</p> <ol> <li>User fills out a custom control specifying the recipient</li> <li>User clicks a button to launch the Feed dialog</li> <li>User fills in the Feed dialog and submits</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload