Frictionless Requests:Query
I tried  implementing Frictionless Requests in an application and added “frictionlessRequests : true” in FB.init. I received a dialog box asking with a 'send request' button to continue which is fine. But my requirement is to add a check-box  saying “Don't ask again before sending requests to ... from this app”.

Following is the extract of coding I had done in the canvas page to create the same. Could you please try clarifying what I should do to meet my requirement?



    <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:fb="https://www.facebook.com/2008/fbml">
      <head>
        <title>Request Example</title>
      </head>
    
      <body>
        <div id="fb-root"></div>
        <script src="http://connect.facebook.net/en_US/all.js"></script>
        <p>
          <input type="button"
            onclick="sendRequestToRecipients(); return false;"
            value="Send Request to Users Directly"
          />
          <input type="text" value="User ID" name="user_ids" />
          </p>
        <p>
        <input type="button"
          onclick="sendRequestViaMultiFriendSelector(); return false;"
          value="Send Request to Many Users with MFS"
        />
        </p>
        
        <script>
          FB.init({
              appId  : 'App_Id',
    	frictionlessRequests : true,
    	Status: true,
    	Cookie: true,
    	oauth: true,
    	Xfbml: true
          });
    
          function sendRequestToRecipients() {
            var user_ids = document.getElementsByName("user_ids")[0].value;
            FB.ui({method: 'apprequests',
              message: 'My Great Request',
              to: user_ids, 
            }, requestCallback);
          }
    
          function sendRequestViaMultiFriendSelector() {
            FB.ui({method: 'apprequests',
              message: 'My Great Request'
            }, requestCallback);
          }
          
          function requestCallback(response) {
            // Handle callback here
          }
        </script>
      </body>
    </html>









Frictionless Requests:Query
===

I tried  implementing Frictionless Requests in an application and added “frictionlessRequests : true” in FB.init. I received a dialog box asking with a 'send request' button to continue which is fine. But my requirement is to add a check-box  saying “Don't ask again before sending requests to ... from this app”.

Following is the extract of coding I had done in the canvas page to create the same. Could you please try clarifying what I should do to meet my requirement?



    <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:fb="https://www.facebook.com/2008/fbml">
      <head>
        <title>Request Example</title>
      </head>
    
      <body>
        <div id="fb-root"></div>
        <script src="http://connect.facebook.net/en_US/all.js"></script>
        <p>
          <input type="button"
            onclick="sendRequestToRecipients(); return false;"
            value="Send Request to Users Directly"
          />
          <input type="text" value="User ID" name="user_ids" />
          </p>
        <p>
        <input type="button"
          onclick="sendRequestViaMultiFriendSelector(); return false;"
          value="Send Request to Many Users with MFS"
        />
        </p>
        
        <script>
          FB.init({
              appId  : 'App_Id',
    	frictionlessRequests : true,
    	Status: true,
    	Cookie: true,
    	oauth: true,
    	Xfbml: true
          });
    
          function sendRequestToRecipients() {
            var user_ids = document.getElementsByName("user_ids")[0].value;
            FB.ui({method: 'apprequests',
              message: 'My Great Request',
              to: user_ids, 
            }, requestCallback);
          }
    
          function sendRequestViaMultiFriendSelector() {
            FB.ui({method: 'apprequests',
              message: 'My Great Request'
            }, requestCallback);
          }
          
          function requestCallback(response) {
            // Handle callback here
          }
        </script>
      </body>
    </html>








