Cuadro Dialogs Facebook


/ Published in: JavaScript
Save to your folder(s)

Muestra un cuadro de dialigo en una app de facebook


Copy this code and paste it in your HTML
  1. <script>
  2. //Dialog
  3. function show_dialog(){
  4.  
  5. FB.ui({
  6. 'method': 'fbml.dialog',
  7. 'display': 'dialog',
  8. 'fbml': "<h1>this is some fbml markup</h1>",
  9. 'width': 575
  10. },
  11. function() {
  12. alert(true, 'callback was invoked');
  13. });
  14. }
  15. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.